Skip to main content

Electerm EUVDEUVD-2026-132807

| CVE-2026-134793 HIGH
OS Command Injection (CWE-78)
2026-11-22 VulnCheck GHSA-fh37-789x-x2mg
8.5
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft folder name with U+2019 quote
  2. Delivery
    Deliver via archive, WSL, or SMB share
  3. Exploit
    Victim requests folder size in electerm
  4. Execution
    Name breaks out of PowerShell quoting
  5. Impact
    Execute arbitrary PowerShell as electerm user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires electerm version ≤5.8.0 running on Windows (fixed in v5.9.0). The attacker must get a file or folder whose name contains a PowerShell typographic single-quote delimiter (U+2018/U+2019/U+201A/U+201B, or double-quote U+201C-U+201F) onto a path the victim browses - delivered specifically via an extracted archive, a WSL distribution, or an SMB share per the advisory. Exploitation then requires the victim to actively perform a size/delete/copy/move operation on that named item in electerm, which builds the local PowerShell folder-size command. Limiting factors: Windows-only, local presence of the malicious name required (no network/remote-unauth path - remote Windows paths were already base64-protected since v5.7.5), and mandatory victim interaction to trigger the folder operation; code executes only with the privileges of the electerm user.

Impact

The input CVSS 4.0 score is 8.5 (High), but the vector tells the real story: AV:L and UI:P mean this is NOT remote, unauthenticated, or wormable - the attacker-controlled name must first reach the victim's local Windows filesystem (via an extracted archive, a WSL distribution, or an SMB share) and the victim must then actively request the folder's size (or delete/copy/move it) in electerm before any code runs. That delivery-plus-interaction requirement sharply reduces mass-exploitation likelihood and points toward targeted or opportunistic (poisoned-archive) use rather than broad automated attacks. Signals are only partially present: there is NO CISA KEV listing (so active exploitation is not confirmed) and NO EPSS score is provided in the input, so exploitation probability cannot be quantified. The vuln.today Decision label is 'this_week' (not act_now/emergency), which is consistent with a High-severity, patch-available, user-interaction-gated local flaw. A detailed working reproduction is published in the vendor GHSA advisory, raising practical risk above a purely theoretical issue. Notably this is an incomplete-fix bypass of prior advisories (GHSA-v5ff-xmfp-p245 / GHSA-ph25-cg2g-62cf), so defenders should ensure they are on the genuine fix (v5.9.0) rather than an earlier partial one. Net: a real, patch-this-week priority for Windows electerm users, but not an emergency given local vector, required user interaction, and no confirmed in-the-wild exploitation.

Exploit ScenarioDerived

An attacker crafts a folder whose name contains a Unicode right single quote (U+2019) followed by PowerShell commands (e.g. a’;Set-Content PWNED x;#) and delivers it inside a downloaded ZIP archive, on an SMB share, or on a WSL/remote Windows mount. When a victim running electerm ≤5.8.0 on Windows requests that folder's size (or deletes/copies/moves it), the typographic quote closes the PowerShell single-quoted literal early and the trailing text executes as the electerm user. A detailed, working reproduction with run output is published in the vendor GHSA advisory.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 1.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 22, 2026

OS command injection in Electerm on Windows up to and including 5.8.0 lets a file or folder name carrying a typographic quote character (U+2018-U+201B single-quote, or U+201C-U+201F double-quote delimiters in PowerShell) break out of the single-quoted PowerShell literal assembled by getFolderSizeWin() and calcLocal(), so the remainder of the name runs as PowerShell with the privileges of the electerm user when the victim requests that folder's size or deletes, copies or moves it. Reaching that point requires the hostile name to land on the victim's local Windows filesystem first - an extracted archive, a WSL distribution or an SMB share - and requires the victim to actively trigger the folder operation; the assessed vector is AV:L with a user-interaction requirement, so this is not remote, unauthenticated or wormable. The vendor advisory contains a step-by-step reproduction recipe (folder name plus observed command shape), a public PoC reference that is not verified as released working exploit code; no CISA KEV entry or confirmed in-the-wild exploitation is recorded, and the fix ships in Electerm 5.9.0 with a this-week remediation priority.

RemediationAI

Vendor-released patch: upgrade to Electerm 5.9.0 or later on Windows, which base64-encodes local paths and decodes them inside the PowerShell script via the change in PR #4710 and commit 488b112d10dc21545f18284d4eb52db6dafb7f31, removing the escapePowerShellArg()/escapePowerShellPath() helpers entirely. The advisory presents this base64 transport as the complete fix and does not list a supported workaround; the earlier -EncodedCommand approach (GHSA-ph25-cg2g-62cf) was explicitly documented as insufficient because it only removed the cmd.exe quoting layer. Until upgrading, exposure can be reduced but not eliminated by keeping untrusted names away from paths the user browses in Electerm - do not extract archives whose entries contain U+2018-U+201F characters into browsed folders, and be cautious with WSL distributions and SMB shares mounted into local paths - and by avoiding size, delete, copy or move operations on untrusted folders so the vulnerable PowerShell command is never built. Advisory and fix references: https://github.com/electerm/electerm/security/advisories/GHSA-h4v2-5hq4-wc2g, https://www.vulncheck.com/advisories/electerm-before-5.9.0-os-command-injection-via-unicode-quotes-in-powershell and https://github.com/electerm/electerm/releases/tag/v5.9.0.

Affected VersionsENISA

electerm 0 <5.9.0

Affected Packages

euvd electerm fix: 5.9.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is CWE-78 command injection caused by shell-quoting that assumed ASCII: the escaping helper only doubled the ASCII apostrophe U+0027 before interpolating a local Windows path into a single-quoted PowerShell string, but the PowerShell language specification also accepts U+2018/U+2019/U+201A/U+201B as single-quote delimiters and U+201C-U+201F as double-quote delimiters, so a crafted name closes the literal early and the trailing text is parsed as code. Two code paths in v5.8.0 were affected: src/app/lib/fs.js escapePowerShellArg()/getFolderSizeWin() (local folder size) and src/client/components/sftp/file-info-modal.jsx escapePowerShellPath()/calcLocal() (folder size in the file-info dialog). This is an incomplete fix of the earlier GHSA-v5ff-xmfp-p245 / GHSA-ph25-cg2g-62cf and GHSA-ch82-q8wq-2gfv issues: remote Windows paths stopped being interpolated at all in v5.7.5, where buildPowerShellCommand() base64-encodes the path and decodes it inside the script, while an intermediate attempt to route the local script through -EncodedCommand only removed the cmd.exe quoting layer and left the PowerShell lexer exposed. The 5.9.0 fix (PR #4710, commit 488b112d10dc21545f18284d4eb52db6dafb7f31) applies the same base64 pattern locally - the path is decoded in-script via [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String(...)) and consumed with -LiteralPath, so no character of the folder name reaches the parser; unit tests now pin the base64 argument shape and feed the U+2018-U+201D characters as hostile samples.

Know when Electerm gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 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
vuln.today AI 7.8 HIGH

AV:L because the hostile name must reside on a local/mounted path and UI:R because the victim must request the folder operation; PR:N since no electerm authentication is needed; arbitrary code as the electerm user gives C/I/A High, scope unchanged.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Technical POC Analysis

CWE-78 OS command injection.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Electerm versions up to 5.8.0 on Windows contain a high-severity OS command injection flaw that could allow an attacker to execute arbitrary PowerShell commands with the privileges of the electerm user. This requires a maliciously named file or folder to be placed on the victim's local system and the user to trigger a folder operation, meaning exploitation depends on user interaction and local access. While not remotely exploitable or wormable, a successful attack could lead to unauthorized command execution and potential data compromise on affected endpoints.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
1.2%
Top 30% exploitable
Prevalence
Low
niche open-source desktop terminal/SFTP client, limited enterprise footprint
Social Media
2
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 1.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Defer
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact
Medium
Technical Impact
Total

Priority Score

43
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

CVE-2026-43944 CRITICAL POC
9.4 May 08

Arbitrary local code execution in electerm (versions 3.0.6-3.8.14) allows remote attackers to execute malicious code on

CVE-2026-41500 CRITICAL
9.8 May 08

Command injection in electerm's npm install script allows arbitrary command execution on macOS systems during 'npm insta

CVE-2026-43941 CRITICAL
9.6 May 08

Arbitrary code execution in Electerm terminal client (≤3.8.15) allows attackers who control terminal output to execute c

CVE-2026-73226 HIGH
8.8 Aug 11

Unintended internal method dispatch in electerm prior to v3.15.186 allows any authenticated WebSocket client to invoke a

CVE-2026-73224 HIGH
8.8 Aug 11

Command injection in electerm prior to version 3.15.120 enables a malicious FTP or SFTP server operator to execute arbit

CVE-2026-43940 HIGH
8.4 May 08

Path traversal in electerm's IPC widget loader allows local code execution with full process privileges when an attacker

CVE-2026-73227 HIGH
8.1 Aug 11

Path traversal in electerm's RDP clipboard file transfer (prior to v3.15.120) lets a malicious RDP server write attacker

CVE-2026-73225 HIGH
8.1 Aug 11

Path traversal in electerm's recursive file transfer component allows a malicious FTP or SFTP server to write attacker-c

CVE-2026-73223 HIGH
8.1 Aug 11

Path traversal in electerm's SFTP client allows a malicious or man-in-the-middle SFTP server to write attacker-controlle

CVE-2026-43943 HIGH
7.8 May 08

Command injection in electerm's SFTP file editor feature allows arbitrary code execution when users edit files with mali

CVE-2026-136630 HIGH
7.7 Nov 25

Electerm through 5.8.1 ships a built-in MCP Server widget that binds an Express HTTP listener to 127.0.0.1:30837 and, by

CVE-2026-86711 HIGH
7.5 Sep 08

Arbitrary OS command execution in electerm before 5.3.15 is achievable through a completely unvalidated Electron IPC bri

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy