# CVE-2026-134793: Electerm before 5.9.0 OS Command Injection via Unicode Quotes in PowerShell

Status: published. Published: 2026-11-22. Updated: 2026-11-22.

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.

## Remediation

- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: VulnCheck) — https://github.com/electerm/electerm/pull/4710
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: VulnCheck) — https://github.com/electerm/electerm/commit/488b112d10dc21545f18284d4eb52db6dafb7f31

## Affected products and versions

- electerm / electerm (electerm/electerm): ≥ 0; < 5.9.0 (affected, semver). Source: CNA: VulnCheck

## Severity and prioritization

- CVSS 4.0: 8.5 (high); 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; source: CNA: VulnCheck

- CVSS 3.1: 7.8 (high); CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H; source: CNA: VulnCheck

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: Not available

- Weaknesses: CWE-78

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://github.com/electerm/electerm/security/advisories/GHSA-h4v2-5hq4-wc2g (CNA: VulnCheck; vendor-advisory)

- https://github.com/electerm/electerm/pull/4710 (CNA: VulnCheck; issue-tracking, patch)

- https://github.com/electerm/electerm/commit/488b112d10dc21545f18284d4eb52db6dafb7f31 (CNA: VulnCheck; patch)

- https://github.com/electerm/electerm/releases/tag/v5.9.0 (CNA: VulnCheck; release-notes)

- https://github.com/electerm/electerm/blob/v5.8.0/src/app/lib/fs.js#L106-L115 (CNA: VulnCheck; technical-description)

- https://github.com/electerm/electerm/blob/v5.8.0/src/client/components/sftp/file-info-modal.jsx#L183-L192 (CNA: VulnCheck; technical-description)

- https://www.vulncheck.com/advisories/electerm-before-5.9.0-os-command-injection-via-unicode-quotes-in-powershell (CNA: VulnCheck; third-party-advisory)

## Provenance

- CNA: VulnCheck: https://www.cve.org/CVERecord?id=CVE-2026-134793; retrieved 2026-11-22; source updated 2026-11-22

Revision: 06f9c791ba957f262d288259fcde966072dcef3c4187d578b11a01b66cbd40e1

Canonical: https://y2.dev/cve/CVE-2026-134793

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.