CVE-2026-134793
Electerm before 5.9.0 OS Command Injection via Unicode Quotes in PowerShell
High · 8.5Fix available
- CVSS
- 8.5
- EPSS
- 1.05% (p64)
- Published
- 2026-11-22
- Age
- 7d old
- Modified
- 2026-11-23
- Product
- electerm electerm
- Aliases
- GHSA-h4v2-5hq4-wc2g
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Description
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.
Fixed in
5.9.0
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | electerm | >=0, <5.9.0 | 5.9.0 |
Sources
- NVD · first seen 7d ago · NVD terms of use
- OSV · first seen 7d ago · CC-BY 4.0
- CVE List · first seen 7d ago · CVE Terms of Use
References
- https://github.com/electerm/electerm/security/advisories/GHSA-h4v2-5hq4-wc2g vendor-advisory
- https://github.com/electerm/electerm/pull/4710 issue-tracking
- https://github.com/electerm/electerm/commit/488b112d10dc21545f18284d4eb52db6dafb7f31 patch
- https://github.com/electerm/electerm/releases/tag/v5.9.0 release-notes
- https://github.com/electerm/electerm/blob/v5.8.0/src/app/lib/fs.js#L106-L115 technical-description
- https://github.com/electerm/electerm/blob/v5.8.0/src/client/components/sftp/file-info-modal.jsx#L183-L192 technical-description
- https://www.vulncheck.com/advisories/electerm-before-5.9.0-os-command-injection-via-unicode-quotes-in-powershell third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134793.json advisory
- https://github.com/electerm/electerm package
- https://nvd.nist.gov/vuln/detail/CVE-2026-134793 advisory