CVE-2026-134793

Electerm before 5.9.0 OS Command Injection via Unicode Quotes in PowerShell

Published Nov 22, 2026 CVSS 4.0 · 8.5 High EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Electerm before version 5.9.0 on Windows allows attackers to inject and execute arbitrary PowerShell code when a victim requests the size of a folder or archive. The flaw arises from the way Unicode quote characters such as U+2019 break out of the quoting logic in the getFolderSizeWin() and calcLocal() functions, enabling a crafted file or folder name to be interpreted as a command. This results in code execution as the electerm user, giving attackers the same privileges that the application runs with.

Affected Systems

All installations of Electerm version 5.8.x and earlier on Windows are affected. The vulnerability is present in all builds of Electerm prior to 5.9.0 and can be triggered by any Windows machine running the compromised application.

Risk and Exploitability

The vulnerability has a CVSS score of 8.5, reflecting a high severity with remote access to the vulnerable functions. The EPSS score is not available, so the current exploitation probability cannot be quantified, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires that an attacker deliver a filename containing a Unicode quote character through an archive, WSL distribution, or SMB share, and that the victim request the folder size, a typical action when browsing directories. Once triggered, the attacker can run arbitrary PowerShell commands with the electerm user's privileges.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Electerm to version 5.9.0 or newer to apply the official patch that removes the vulnerable command formatting logic.
  • If an upgrade is not immediately possible, disable or avoid the folder size calculation from archives, WSL distributions, or SMB shares to prevent the vulnerable functions from executing.
  • Validate and sanitize any file or folder names used by the application to strip Unicode quote characters such as U+2019 before passing them to PowerShell or other system calls.

Generated by OpenCVE AI on November 22, 2026 at 22:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title Electerm before 5.9.0 OS Command Injection via Unicode Quotes in PowerShell
First Time appeared Electerm Project
Electerm Project electerm
Weaknesses CWE-78
CPEs cpe:2.3:a:electerm_project:electerm:*:*:*:*:*:*:*:*
Vendors & Products Electerm Project
Electerm Project electerm
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.5, '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'}

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 22, 2026, 9:22 PM
Reserved
Nov 22, 2026, 5:09 PM
Status
Deferred
Published
Nov 22, 2026, 10:17 PM
Modified
Nov 22, 2026, 10:17 PM