Skip to main content
Menu
CVEs

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.

CVE-2026-134793Published , updated

8.5HighCNA
Exploited
No known exploitation
Fix
Fixed in 5.9.0
Who is exposed
Specific setups only

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

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

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.

“Electerm before 5.9.0 on Windows contains”

vulncheck.com

What to do

  1. Check whether your setup matches what the bug needs.

    Electerm on Windows (local Windows paths are affected in v5.8.0) Local folder size or file info is requested on a folder whose name contains Unicode quote characters
  2. Upgrade to a fixed version: 5.9.0.

Check your systems with an agent

Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.

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"}.

Affected versions

cve.now Index

14Pof 100 · provisional · methodology v3
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure5/25Specific setups only
  • Reach?/20Unknown. No tracked technology or package matched
  • Severity8.5/10CVSS 8.5
  • No patch0/5No signal

What would change the score

  • Would score about 64 if added to CISA KEV
  • Would score about 59 if CISA's SSVC rates exploitation active
  • Would score about 24 if CISA's SSVC rates it automatable

Timeline

  1. CVE published
  2. First seen by cve.now

Evidence 9

Questions about CVE-2026-134793

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: cve.now feed data

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: vulncheck.com, github.com

Which versions are affected by CVE-2026-134793?

electerm: before 5.9.0.

Source: cve.now feed data

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: vulncheck.com, github.com

How do I fix CVE-2026-134793?

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

Source: vulncheck.com, github.com

No corrections so far. Something wrong on this page? Report an error.