Skip to main content

Electerm EUVDEUVD-2026-28513

| CVE-2026-43941 CRITICAL
Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') (CWE-88)
2026-05-08 GitHub_M GHSA-fwf6-j56g-m97c
9.6
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Recon
    Connect to attacker-controlled host
  2. Delivery
    Inject ANSI escape with malicious URL
  3. Exploit
    Render clickable hyperlink in terminal
  4. Install
    Victim clicks link
  5. C2
    shell.openExternal invoked
  6. Execute
    OS executes protocol handler
  7. Impact
    Arbitrary code runs in user context

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Argument sanitization
Exploitation Conditions

Attacker must control content rendered in the victim's Electerm terminal session. This occurs when: (1) victim connects to attacker-operated or attacker-compromised SSH/Telnet/serial/RDP/VNC/Spice/FTP server, (2) legitimate remote host is compromised and injects malicious ANSI escape sequences into terminal output (command output, login banners, shell prompts), or (3) malicious Electerm plugin installed that renders attacker-controlled hyperlinks. Victim must click the displayed hyperlink - passive terminal usage insufficient. Does not require authentication to the Electerm application itself (CVSS PR:N refers to network service access). Exploitation limited by victim's willingness to click links and OS-level restrictions on shell.openExternal behavior (some OSes prompt user confirmation for certain protocol schemes, though many do not). Default Electerm configuration with hyperlink rendering enabled is vulnerable.

Impact

CVSS 9.6 (Critical) accurately reflects the post-exploitation impact - full system compromise via arbitrary code execution - but overstates immediate real-world risk due to the UI:R (user interaction required) constraint. Victims must actively click terminal-rendered hyperlinks, creating a social engineering barrier. However, legitimate workflows often involve clicking URLs in terminal output (CI/CD logs, deployment scripts, SSH session banners), making this exploitable in real scenarios. The S:C (scope change) designation is justified: breaking from terminal application context to OS shell execution represents a significant privilege escalation. No EPSS score or KEV status provided in input data - absence suggests no confirmed widespread exploitation at time of analysis, though the GitHub Security Advisory indicates vendor awareness. The AV:N/AC:L combination means any remote service providing terminal content (SSH servers, Telnet hosts, even malicious websites if RDP/VNC sessions display attacker-controlled text) can attempt exploitation with low technical barriers. Primary risk factors: (1) Electerm targets sysadmins/DevOps users who routinely connect to multiple remote hosts, expanding attacker surface; (2) No patch available, forcing reliance on behavioral mitigations; (3) Attack succeeds with single click, no cryptographic bypass or memory corruption required. This is a real priority for Electerm users despite requiring user interaction.

Exploit ScenarioDerived

An administrator connects to a compromised SSH server or malicious RDP host using Electerm. The remote system sends terminal escape sequences embedding a hyperlink with 'file:///etc/passwd' or a custom protocol handler invoking system commands (e.g., 'ms-msdt:' on Windows for Follina-style execution). The link appears in terminal output styled as legitimate operational text (log URL, documentation link). When the victim clicks the hyperlink to investigate, Electerm invokes shell.openExternal without validation, causing the OS to open the local file or execute the registered protocol handler. The attacker achieves arbitrary file read or code execution in the victim's user context.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – May 08, 2026

Arbitrary code execution in Electerm terminal client (≤3.8.15) allows attackers who control terminal output to execute commands or access local files when victims click hyperlinks. The unvalidated shell.openExternal call accepts any protocol scheme, enabling 'file://' URIs for local file access or platform-specific handlers for code execution. No vendor-released patch identified at time of analysis. GitHub Security Advisory GHSA-fwf6-j56g-m97c confirms the vulnerability. CVSS 9.6 reflects high impact across confidentiality, integrity, and availability with scope change, though exploitation requires user interaction (clicking a malicious link).

RemediationAI

No vendor-released patch identified at time of analysis per the description stating 'no publicly available patches.' Monitor GitHub Security Advisory GHSA-fwf6-j56g-m97c for updates. Immediate compensating controls: (1) Disable hyperlink rendering in Electerm terminal settings if available - prevents clickable links entirely, eliminating attack surface at cost of usability. (2) Train users not to click terminal-rendered URLs; manually copy/paste into browser address bar after inspecting protocol scheme. This introduces friction in legitimate workflows where terminal links provide operational value. (3) Restrict Electerm usage to trusted remote hosts only; treat any SSH server, RDP gateway, or VNC host as potential attack vector. Side effect: limits Electerm's utility for ad-hoc remote access. (4) Run Electerm in sandboxed environment (containerized, VM, or restricted user account) to contain shell.openExternal execution scope; does not prevent exploitation but limits lateral movement. (5) Network-level controls: monitor outbound connections from Electerm process for unexpected protocols or destinations. Consult the GitHub advisory for potential upstream fixes or recommended settings changes as vendor response evolves.

Affected VersionsENISA

electerm ≤ 3.8.15

Affected Packages

npm electerm no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

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 supporting SSH, SFTP, Telnet, RDP, VNC, and serial connections. The vulnerability stems from CWE-88 (Improper Neutralization of Argument Delimiters) in the hyperlink handling code. When terminal escape sequences render clickable URLs, Electerm invokes Electron's shell.openExternal API without protocol whitelisting. This API delegates to the operating system's default handler for any URI scheme - 'http:', 'file:', custom protocol handlers, or executable wrappers. An attacker controlling terminal output (through compromised SSH servers, malicious remote hosts, or plugins) can inject ANSI escape sequences with crafted URLs. The CVSS vector AV:N indicates network attack vector because remote servers generate terminal content; S:C (scope change) reflects breaking out of the application context into OS-level execution.

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 9.6 CRITICAL
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

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

DescriptionCVE.org

electerm is an open-sourced terminal/ssh/sftp/telnet/serialport/RDP/VNC/Spice/ftp client. In versions 3.8.15 and prior, Electerm's terminal hyperlink handler passes any URL clicked in the terminal directly to shell.openExternal without any protocol validation. An attacker who controls terminal output (e.g., via a malicious SSH server, compromised remote host, or malicious plugin rendering terminal content) can thus achieve arbitrary code execution or local file access on the victim's machine, requiring only that the victim clicks a displayed link. At time of publication, there are no publicly available patches.

Executive ViewAI

Why It Matters

Electerm terminal client versions 3.8.15 and earlier contain a critical arbitrary code execution vulnerability (CVSS 9.6) exploitable through malicious hyperlinks in terminal output. Attackers can execute arbitrary commands or access sensitive local files when users click links, potentially compromising systems used for infrastructure management and privileged access. This poses significant risk to organizations using Electerm for SSH sessions or remote administration, as the attack vector is user-initiated but requires no additional authentication.

Business Impact: Severe
Compensating Controls

Pending vendor patch release: (1) Disable Electerm or restrict to trusted networks only; (2) Educate users to avoid clicking terminal output hyperlinks from untrusted sources; (3) Run Electerm with minimal user privileges and within sandboxed environments where possible; (4) Monitor for suspicious child process spawning from Electerm; (5) Consider alternative terminal clients without unvalidated URI handling as interim replacement.

Threat Intelligence Overview

EPSS Score
0.1%
Top 85% exploitable
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
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
Very High
Technical Impact
Total

Priority Score

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

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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