Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain authenticated WebSocket session token
-
DeliveryIdentify valid upgrade instance ID (for dispatch-center path) or target fsExport prototype chain (for fs.js path)
-
ExploitCraft WebSocket message with malicious func value and arguments
-
ExecutionSend to upgrade-func or handleFs handler
-
PersistServer dispatches call without allowlist validation
-
ImpactExecute 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 |
| 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 |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Arbitrary local code execution in electerm (versions 3.0.6-3.8.14) allows remote attackers to execute malicious code on
Command injection in electerm's npm install script allows arbitrary command execution on macOS systems during 'npm insta
Arbitrary code execution in Electerm terminal client (≤3.8.15) allows attackers who control terminal output to execute c
Command injection in electerm prior to version 3.15.120 enables a malicious FTP or SFTP server operator to execute arbit
Path traversal in electerm's IPC widget loader allows local code execution with full process privileges when an attacker
Path traversal in electerm's RDP clipboard file transfer (prior to v3.15.120) lets a malicious RDP server write attacker
Path traversal in electerm's recursive file transfer component allows a malicious FTP or SFTP server to write attacker-c
Path traversal in electerm's SFTP client allows a malicious or man-in-the-middle SFTP server to write attacker-controlle
Command injection in electerm's SFTP file editor feature allows arbitrary code execution when users edit files with mali
Arbitrary OS command execution in electerm before 5.3.15 is achievable through a completely unvalidated Electron IPC bri
electerm 3.8.15 and prior exposes environment variables containing secrets through the getConstants() IPC handler, which
EUVD-2026-56919
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB