Skip to main content

electerm CVE-2026-86711

| EUVDEUVD-2026-72687 HIGH
Exposed Dangerous Method or Function (CWE-749)
2026-09-08 VulnCheck GHSA-hxxx-8rvv-qg5m
7.5
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Connect electerm to malicious SSH server
  2. Delivery
    Server injects script into terminal renderer
  3. Exploit
    Renderer script calls unvalidated runGlobalAsync IPC
  4. Execution
    Main process invokes openFileWithEditor with attacker arguments
  5. Impact
    Arbitrary OS command executes as logged-in user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Dangerous method exposure prevention
Exploitation Conditions

Exploitation requires that an attacker first achieve renderer-side script execution within the electerm application window. The most realistic paths are: (1) a malicious SSH/SFTP server that injects script via terminal output or rendered HTML, or (2) an attacker-controlled webview or popup rendered within electerm. The vulnerability itself then requires no system privileges and no further user interaction - the IPC bridge is invoked programmatically. Limiting factors include: the renderer compromise prerequisite (not trivial), the local attack vector (AV:L), and the additional attack requirement (AT:P) encoded in the CVSS 4.0 vector. Direct network-to-RCE without a renderer foothold is not possible in this vulnerability's architecture.

Impact

The provided CVSS 4.0 vector (AV:L/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H) reflects moderate-to-high complexity: local attack vector with an additional attack requirement (AT:P), meaning renderer-side script execution is a prerequisite. This appropriately captures that the vulnerability is not directly reachable over the network - an attacker must first get code running in the renderer process, typically through a malicious SSH server sending crafted terminal output or an XSS condition in rendered content. Despite the 7.5 CVSS score and local attack vector, the potential impact is significant: successful exploitation escalates from the sandboxed renderer to the fully privileged main process, enabling arbitrary command execution as the logged-in user. EPSS data is absent from the provided intelligence; KEV status is negative. No POC is published, though the patch diff makes the pre-fix attack surface unambiguous. Real-world priority is moderate: electerm is a niche terminal emulator, the prerequisite (renderer compromise) is non-trivial, but users who connect to untrusted SSH servers face a realistic attack path if the terminal renders injected content.

Exploit ScenarioDerived

A threat actor operates a malicious SSH server that injects crafted ANSI sequences or HTML into terminal output, triggering renderer-side script execution within the electerm window. The injected script calls the runGlobalAsync IPC handler with the target function name (e.g., openFileWithEditor or a shell-invoking equivalent) and attacker-controlled arguments, causing the main process to execute an arbitrary OS command as the logged-in user - all without any privilege escalation prompt. No published POC exists, but the unpatched ipc.js source at v5.3.5 is publicly visible and the attack surface is self-documenting from the patch diff.

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

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

Alert me

AnalysisAIv1 – Sep 08, 2026

Arbitrary OS command execution in electerm before 5.3.15 is achievable through a completely unvalidated Electron IPC bridge that exposes 40+ main-process functions - including openFileWithEditor and runGlobalAsync - to any renderer-side script without allowlisting function names or validating the sender's identity. An attacker who achieves renderer-side script execution (e.g., via XSS through malicious SSH server output or a compromised webview) can pivot directly into the main process and invoke system-level operations with no further authentication. No public exploit is identified at time of analysis, but the patch commit (b1f880534b8ae066c5d25bbf291ca7437e052750) is publicly available and makes the exploitation surface trivially reconstructible.

RemediationAI

Upgrade electerm to version 5.3.15 or later; this is confirmed by the tagged release at https://github.com/electerm/electerm/releases/tag/v5.3.15 and the patch commit at https://github.com/electerm/electerm/commit/b1f880534b8ae066c5d25bbf291ca7437e052750. If upgrading immediately is not possible, restrict electerm to connections only with trusted SSH servers and avoid using it to connect to arbitrary or untrusted endpoints, as malicious server output is the most likely renderer-compromise vector. Disabling or sandboxing webview/embedded browser components within the application, if configurable, reduces the attack surface. There is no runtime workaround that fully mitigates the unvalidated IPC bridge short of patching the ipc.js source.

Affected VersionsENISA

electerm 0 <5.3.15

Affected Packages

euvd electerm fix: 5.3.15

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 Electron-based terminal emulator (CPE: cpe:2.3:a:electerm:electerm:*:*:*:*:*:*:*:*). Electron applications split into a privileged main process and sandboxed renderer processes; they communicate via IPC (ipcMain/ipcRenderer). The vulnerable IPC handlers - runGlobalAsync and runSync - accepted arbitrary function names and forwarded calls to main-process function registries without verifying (a) that the requested function name was in a pre-approved set, or (b) that the calling renderer was the trusted application window rather than an untrusted webview, popup, or injected script. CWE-749 (Exposed Dangerous Method or Function) is the root cause: the entire main-process function table was reachable from any renderer frame. The fix in v5.3.15 introduces isExportedIpcFunc (hasOwnProperty check against the dispatch object to prevent prototype-chain pivots) and isTrustedIpcSender (verifying event.sender === win.webContents), as shown in the patch diff.

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 7.5 HIGH
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.1 HIGH

Renderer compromise prerequisite makes AV:L/AC:H appropriate; scope changes from renderer sandbox to main-process OS execution (S:C); PR:N as no system privileges needed.

3.1 AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
4.0 AV:L/AC:H/AT:P/PR:N/UI:N/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
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
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.3.15 exposes 40+ main-process functions through an unvalidated Electron IPC handler with no function-name allowlist or sender validation. Renderer-side script execution can invoke openFileWithEditor and other functions with arbitrary arguments to execute system commands in the main process.

Technical POC Analysis

The bug is a missing authorization check on the dynamic Electron IPC bridge: CWE-749 (Exposed Dangerous Operation) in the issue text, matching CWE-863 (Incorrect Authorization) in the advisory.

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, a terminal application used by technical staff for SSH access and systems management, contains a critical vulnerability in versions prior to 5.3.15 that enables arbitrary OS command execution on user machines. Attackers can exploit this through malicious SSH server responses or other renderer-side attacks to gain complete control of affected workstations, directly threatening organizational systems and administrative access.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Low
niche open-source Electron terminal emulator, limited enterprise footprint
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 0.1%
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
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
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-134793 HIGH
8.5 Nov 22

OS command injection in Electerm on Windows up to and including 5.8.0 lets a file or folder name carrying a typographic

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

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