Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-134793: high-severity vulnerability (CVSS 8.5) in electerm electerm.
What happened
Original description from the source: 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.
Why it matters
High severity, CVSS 8.5.
Affected products and versions
electerm electerm < 5.9.0
| Product | Versions | Fixed in |
|---|---|---|
| electerm electerm | < 5.9.0 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/electerm/electerm/security/advisories/GHSA-h4v2-5hq4-wc2g — CVE Program
- https://github.com/electerm/electerm/pull/4710 — CVE Program
- https://github.com/electerm/electerm/commit/488b112d10dc21545f18284d4eb52db6dafb7f31 — CVE Program
- https://github.com/electerm/electerm/releases/tag/v5.9.0 — CVE Program
- https://github.com/electerm/electerm/blob/v5.8.0/src/app/lib/fs.js#L106-L115 — CVE Program
- https://github.com/electerm/electerm/blob/v5.8.0/src/client/components/sftp/file-info-modal.jsx#L183-L192 — CVE Program
- https://www.vulncheck.com/advisories/electerm-before-5.9.0-os-command-injection-via-unicode-quotes-in-powershell — CVE Program
Weaknesses (CWE): CWE-78
Relevant change history
Published
Preliminary advisory published.