CVE-2026-134793: Electerm before 5.9.0 OS Command Injection via Unicode Quotes in PowerShell
Electerm before 5.9.0 on Windows contains an OS command injection vulnerability that allows attackers to execute PowerShell code via crafted file or folder names containing Unicode quote characters. Attackers can deliver names containing U+2019 through archives, WSL distributions, or SMB shares, which break out of getFolderSizeWin() and calcLocal() quoting when victims request folder sizes, executing code as the electerm user.
Affected Software
Event History
Frequently Asked Questions
Which systems and users are exposed?
The issue affects Electerm versions before 5.9.0 on Windows. Exploitation runs PowerShell code with the privileges of the user running Electerm.
What must happen for exploitation to occur?
An attacker needs to make a victim handle a crafted file or folder name containing Unicode quote characters such as U+2019, then have the victim request the folder size. Malicious names can be delivered through archives, WSL distributions, or SMB shares.
Are locally created files the only delivery path?
No. The crafted names may arrive in archives, through WSL distributions, or from SMB shares, so files from those sources can expose an Electerm user when folder-size functionality is used.