AploSec / Disclosures / CVE-2026-134793
Electerm before 5.9.0 OS Command Injection via Unicode Quotes in PowerShell
CVE-2026-134793 · published 2026-11-22
In plain words: this type of bug lets someone run their own commands on the server (command injection). A fixed release is listed.
Summary
CVE-2026-134793 affects electerm (Desktop) < 5.9.0: OS Command Injection via Unicode Quotes in PowerShell (CWE-78). Fixed in 5.9.0. CVSS 4.0 base score 8.5 (High), assigned by VulnCheck. Published 2026-11-22 by VulnCheck. Credit: Zachariah Mithani (AploSec).
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.
Evidence
Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.
Remediation
Upgrade electerm to 5.9.0 or later. Releases in the affected range (< 5.9.0) are vulnerable. See the linked advisory for details on affected release lines.
Timeline
- 2026-11-22 CVE published
References
- Referencehttps://github.com/electerm/electerm/security/advisories/GHSA-h4v2-5hq4-wc2g
- Releasehttps://github.com/electerm/electerm/releases/tag/v5.9.0
- VulnCheck advisoryhttps://www.vulncheck.com/advisories/electerm-before-5.9.0-os-command-injection-via-unicode-quotes-in-powershell
- Fix pull requesthttps://github.com/electerm/electerm/pull/4710
- Fix commithttps://github.com/electerm/electerm/commit/488b112d10dc21545f18284d4eb52db6dafb7f31
- Vulnerable codehttps://github.com/electerm/electerm/blob/v5.8.0/src/app/lib/fs.js#L106-L115
- Vulnerable codehttps://github.com/electerm/electerm/blob/v5.8.0/src/client/components/sftp/file-info-modal.jsx#L183-L192
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-134793
- NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-134793
- Severity
- High 8.5CVSS 4.0, scored by VulnCheck in the CVE record
- Package
- electerm
- Ecosystem
- Desktop
- Affected
- < 5.9.0
- Fixed
- 5.9.0
- Weakness
- CWE-78
- CNA
- VulnCheck
- Credit
- Zachariah Mithani (AploSec)finder