Skip to main content

electerm EUVDEUVD-2026-56919

| CVE-2026-73226 HIGH
Improper Control of Dynamically-Managed Code Resources (CWE-913)
2026-08-11 GitHub_M
8.8
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Obtain authenticated WebSocket session token
  2. Delivery
    Identify valid upgrade instance ID (for dispatch-center path) or target fsExport prototype chain (for fs.js path)
  3. Exploit
    Craft WebSocket message with malicious func value and arguments
  4. Execution
    Send to upgrade-func or handleFs handler
  5. Persist
    Server dispatches call without allowlist validation
  6. Impact
    Execute arbitrary OS commands as electerm process user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Dynamic code resource control
Exploitation Conditions

The attacker must hold an authenticated WebSocket session to the electerm local WebSocket server, which is the gating condition reflected by PR:L in the CVSS vector. The WebSocket server is network-reachable (AV:N), so any network-adjacent or remote host able to connect and authenticate is a potential attacker. For the upgrade-func dispatch path, a valid upgrade instance ID must be supplied so that globalState.getUpgradeInst(id) returns a non-null object; this requires knowledge of an active session identifier. For the handleFs path in fs.js, no such instance resolution is needed - the prototype chain traversal vector operates against the shared fsExport module object, making it a lower-friction exploitation path. No non-default configuration is required; the WebSocket server is part of electerm's standard runtime. Exploitation is bounded to the OS user context running the electerm process - no evidence of privilege escalation beyond that context is present in the available data.

Impact

The CVSS 8.8 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) is consistent with the described impact: network-reachable, low complexity, and full confidentiality, integrity, and availability loss. The sole meaningful constraint is PR:L - an authenticated WebSocket session is required. For a developer-oriented desktop application like electerm, this typically means the attacker is a local user, has stolen a session token, or is operating from a position of adjacent network access, which meaningfully narrows the opportunistic exploitation surface compared to a PR:N network service. No EPSS score was provided in the source data, and the vulnerability is absent from the CISA KEV catalog, suggesting no confirmed widespread in-the-wild exploitation at time of analysis. Despite this, even a mid-sized municipal IT team in gdynia deploying electerm across developer workstations should treat this as urgent, because the attack path from authenticated session to full host command execution is direct and requires no additional privilege escalation. The absence of a known POC is a minor mitigating signal, but the dynamic dispatch pattern is mechanically straightforward and the fix itself - adding six lines of allowlist logic - confirms the attack surface was completely unguarded pre-patch.

Exploit ScenarioDerived

An attacker with a valid electerm WebSocket session - obtained via credential theft, session token interception, or as a legitimate local user - sends a crafted WebSocket message to the upgrade-func dispatch endpoint with a func value targeting an internal Upgrade method capable of spawning a child process. Because pre-v3.15.186 versions perform no allowlist check, the server calls the method directly with attacker-supplied arguments, executing arbitrary OS commands as the electerm process user. The handleFs path offers an alternative vector where prototype chain traversal could reach inherited JavaScript methods, lowering the bar for a working exploit. No public proof-of-concept has been identified at time of analysis.

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

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

Alert me

AnalysisAIv1 – Aug 11, 2026

Unintended internal method dispatch in electerm prior to v3.15.186 allows any authenticated WebSocket client to invoke arbitrary Upgrade and filesystem export methods - including OS command execution, file mutation, and process termination - by supplying attacker-controlled function names to the upgrade-func and handleFs WebSocket handlers. The root cause is the absence of allowlist validation in src/app/server/dispatch-center.js and src/app/server/fs.js, where client-supplied func strings were passed directly to dynamic method calls, including paths exploitable via JavaScript prototype chain traversal. No public exploit or CISA KEV listing exists at time of analysis; CVSS 8.8 reflects the high impact and low complexity once a valid authenticated session is held.

RemediationAI

Upgrade electerm to version 3.15.186 or later, confirmed fixed via the GitHub release at https://github.com/electerm/electerm/releases/tag/v3.15.186 (commit b1729eb67a4cd9cf1182de69dc2c8e051931740f, PR #4447). The security advisory is at https://github.com/electerm/electerm/security/advisories/GHSA-8chw-jwc5-8587. If immediate upgrade is not possible, restrict access to the electerm WebSocket server port at the host or network firewall level so only the local loopback interface can reach it - this eliminates remote exploitation but does not protect against a malicious local user with an authenticated session. Completely disabling electerm's WebSocket server, if the remote-control feature is not required, is the most effective compensating control; consult electerm documentation for the relevant configuration option. Neither firewall restriction nor server disablement fully substitutes for patching, as both have operational trade-offs for legitimate remote workflows.

Affected VersionsENISA

electerm < 3.15.186

Affected Packages

euvd electerm fix: 3.15.186

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

electerm is an open-source Electron/Node.js-based terminal client (cpe:2.3:a:electerm:electerm:*:*:*:*:*:*:*:*) that exposes a local WebSocket server to bridge the Electron UI with backend terminal, SSH, SFTP, RDP, VNC, and filesystem operations. The flaw is classified as CWE-913 (Improper Control of Dynamically-Managed Code Resources): in dispatch-center.js, the handler directly executed globalState.getUpgradeInst(id)[func](...args) where func was entirely client-controlled, with no allowlist restricting which methods of the Upgrade instance could be invoked. In fs.js, the filesystem handler dispatched to fs[func] without an hasOwnProperty guard, enabling prototype chain traversal to reach Object-inherited methods beyond those intended for client use. The confirmed fix (PR #4447, commit b1729eb67) introduced a transferKeys allowlist in the dispatch center - rejecting any func not in the approved set - and added Object.prototype.hasOwnProperty.call(fs, func) in the filesystem handler to confine dispatch strictly to methods owned directly by the fsExport object.

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 (GitHub_M) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

Network-reachable WebSocket interface (AV:N/AC:L) requires an authenticated session (PR:L); unrestricted dynamic dispatch enables full command execution and filesystem mutation with no scope change (C:H/I:H/A:H/S:U).

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Aug 11, 2026 - 20:19 EUVD
CVE Published
Aug 11, 2026 - 18:44 cve.org
HIGH 8.8

DescriptionCVE.org

electerm is an open-sourced terminal/ssh/sftp/telnet/serialport/RDP/VNC/Spice/ftp client. Prior to 3.15.186, electerm allows an authenticated WebSocket client to invoke unintended internal functions through client-controlled func values in upgrade-func in src/app/server/dispatch-center.js and handleFs in src/app/server/fs.js, exposing Upgrade and fsExport methods that can execute commands, open files, mutate the filesystem, or terminate the process. This issue is fixed in version 3.15.186.

Executive ViewAI

Why It Matters

Electerm versions prior to 3.15.186 contain a critical authorization flaw (CVE-2026-73226, CVSS 8.8) enabling authenticated users to execute arbitrary operating system commands and modify system files through unvalidated WebSocket handlers. Organizations deploying electerm face elevated risk of insider threats, unauthorized system modifications, and data integrity violations; no public exploit has been identified at time of analysis.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) restrict WebSocket network access via firewall to authorized administrative terminals only; (2) enforce principle of least privilege on all user accounts with electerm access; (3) deploy IDS/IPS signatures targeting anomalous method dispatch patterns in WebSocket communications; (4) implement comprehensive audit logging of all WebSocket invocations and method calls; (5) operationally suspend non-critical electerm services pending vendor patch release.

Threat Intelligence Overview

EPSS Score
0.4%
Top 68% exploitable
Prevalence
Low
open-source niche terminal client, primarily individual developer workstations
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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 0.4%
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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

CVE-2026-43942 MEDIUM
5.5 May 08

electerm 3.8.15 and prior exposes environment variables containing secrets through the getConstants() IPC handler, which

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