Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconCraft malicious electerm:// link or shortcut
-
DeliveryDeliver via phishing email or compromised website
-
ExploitVictim clicks link or opens file
-
Installelecterm launches with injected opts parameter
-
C2Parameter parsing bypasses validation (pre-patch)
-
ExecuteArbitrary code executes as user
-
ImpactEstablish persistence or pivot laterally
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | Exploitation requires user to click crafted electerm:// deep link (via web browser, email client, instant messenger) OR open attacker-supplied shortcut file (.lnk on Windows, .desktop on Linux) OR execute CLI command with malicious --opts argument (social engineering scenario where attacker convinces user to run terminal command). Vulnerable versions 3.0.6-3.8.14 must be installed with electerm:// protocol handler registered (default installation behavior on all platforms). No authentication required (PR:N) - attacker needs no credentials on victim system. Attack complexity is low (AC:L) - exploitation trivial once user interaction secured. Limiting factors: (1) User interaction mandatory - victim must actively engage with malicious link/file; (2) Attack relies on social engineering success; (3) Payload executes with victim's OS user privileges only, not elevated/root unless victim account already privileged; (4) Antivirus/EDR may detect malicious payload execution if signatures exist for injected code. Not exploitable against default configurations without user action. |
| Impact | Real-world risk is HIGH with significant caveats. CVSS 9.4 (Critical) reflects the severe impact (code execution with confidentiality, integrity, availability compromise across victim and subsequent systems: VC:H/VI:H/VA:H/SC:H/SI:H/SA:H) and low attack complexity (AC:L/AT:N). However, the attack vector is network-based (AV:N) but requires user interaction (UI:P) - victim must actively click a malicious link or open a crafted shortcut. This significantly constrains exploitation compared to fully remote attacks. No KEV listing or EPSS score provided in input data, suggesting no confirmed widespread exploitation at time of analysis. Publicly available exploit code exists (GitHub commit demonstrates exact injection technique with OPTS_DENY_LIST remediation). Real-world scenarios: social engineering campaigns embedding electerm:// links in phishing emails, malicious .lnk files in archives, or watering-hole attacks on developer forums. Risk elevated for organizations where electerm is standardized for SSH access, as attackers can disguise malicious links as legitimate connection shortcuts. SSVC: automatable=no (requires social engineering), technical impact=total (RCE), exploitation status=POC (commit shows vulnerability mechanism). |
| Exploit ScenarioDerived | Attacker crafts phishing email to company DevOps team with subject 'Critical Production Server Access Required' containing electerm://ssh://prod-server.example.com:22?opts={"type":"exec","command":"powershell -enc <base64_payload>"} link. Victim clicks link assuming it opens SSH session to production server. electerm launches with attacker-controlled opts JSON, overriding connection type from 'ssh' to 'exec', executing PowerShell reverse shell payload with victim's desktop privileges. Malware establishes C2 channel, pivots to internal network via compromised workstation. Publicly available exploit code confirmed via GitHub commit demonstrating parameter injection technique. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 08, 2026
Arbitrary local code execution in electerm (versions 3.0.6-3.8.14) allows remote attackers to execute malicious code on victim systems by tricking users into clicking crafted electerm:// deep links, opening malicious shortcuts, or running CLI commands with attacker-controlled --opts parameters. The vulnerability stems from insufficient input validation (CWE-20) on deep link and CLI arguments, enabling adversaries to inject arbitrary options that execute code with the privileges of the electerm process. Exploitation requires user interaction (clicking link or opening file) but no authentication, making it suitable for phishing or watering-hole attacks. Patch available in version 3.8.15 with deny-list controls blocking critical parameter override.
RemediationAI
Upgrade to electerm version 3.8.15 or later immediately. Fixed release available at https://github.com/electerm/electerm/releases/tag/v3.8.15. Upstream fix commits: 8a6a179 (OPTS_DENY_LIST implementation) and a79e06f (additional hardening). For organizations unable to patch immediately: (1) Block electerm:// protocol handler registration in browser/OS settings to prevent deep link exploitation - side effect: legitimate electerm:// connection shortcuts will not function; (2) Implement application whitelisting to block electerm.exe execution from untrusted paths (temp directories, downloads) - reduces risk from malicious shortcuts but does not prevent CLI exploitation if users run commands manually; (3) User education to never click electerm:// links from untrusted sources or open .lnk/.desktop files from email/web downloads - relies on user compliance and does not scale. All workarounds are partial mitigations; upgrade is the only complete remediation.
Affected VersionsENISA
Affected Packages
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 and SSH/SFTP/RDP/VNC client for Windows, macOS, and Linux (cpe:2.3:a:electerm:electerm:*:*:*:*:*:*:*:*). The vulnerability arises from CWE-20 (Improper Input Validation) in the parseQuickConnect function, which processes electerm:// URL schemes and command-line --opts arguments. Prior to 3.8.15, the parser accepted user-supplied JSON opts parameters without sanitization, allowing attackers to override critical connection parameters like 'type' and 'host'. By injecting malicious opts via deep links (electerm://...?opts={...}) or CLI shortcuts, attackers could manipulate Electron's process spawning mechanisms to execute arbitrary binaries. The fix introduces OPTS_DENY_LIST array filtering to prevent override of 'type' and 'host' keys, enforcing separation between URL-derived and user-supplied configuration.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
3DescriptionCVE.org
electerm is an open-sourced terminal/ssh/sftp/telnet/serialport/RDP/VNC/Spice/ftp client. From versions 3.0.6 to before 3.8.15, electerm is vulnerable to arbitrary local code execution via deep links, CLI --opts, or crafted shortcuts. Exploit requires clicking a crafted electerm://... link or opening a crafted shortcut/command that launches electerm with attacker-controlled opts. This issue has been patched in version 3.8.15.
Executive ViewAI
electerm versions 3.0.6 through 3.8.14 contain a critical remote code execution vulnerability exploitable through phishing attacks via malicious deep links or files, requiring only user interaction to execute arbitrary code with electerm process privileges. Organizations using electerm for terminal emulation or SSH management face immediate risk of unauthorized code execution and lateral movement if users are socially engineered into clicking crafted links or opening malicious shortcuts.
No vendor-released patch identified at time of analysis. Interim mitigations: Disable electerm:// URI handler registration in affected systems; block electerm CLI execution with untrusted --opts parameters via endpoint policy; restrict file-open dialogs for .lnk and shortcut files sourced from untrusted origins; implement email filtering to detect electerm:// link attachments and URLs; educate users to verify link legitimacy before clicking. Monitor process execution logs for electerm spawning unexpected child processes.
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
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Related Vulnerabilities in electerm Remote Code Execution
View all 5Unintended internal method dispatch in electerm prior to v3.15.186 allows any authenticated WebSocket client to invoke a
Command injection in electerm prior to version 3.15.120 enables a malicious FTP or SFTP server operator to execute arbit
OS command injection in Electerm on Windows up to and including 5.8.0 lets a file or folder name carrying a typographic
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
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
Arbitrary OS command execution in electerm before 5.3.15 is achievable through a completely unvalidated Electron IPC bri
EUVD-2026-28516
GHSA-mpm8-cx2p-626q
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB