Skip to main content

Electerm EUVDEUVD-2026-134871

| CVE-2026-136630 HIGH
Origin Validation Error (CWE-346)
2026-11-25 VulnCheck GHSA-44wm-wffw-6fq9
7.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Lure victim to attacker web page
  2. Delivery
    DNS rebind domain to 127.0.0.1:30837
  3. Exploit
    Browser sends same-origin POST /mcp
  4. Execution
    Bypass missing Host/Origin checks
  5. Persist
    Invoke unauthenticated MCP tools
  6. Impact
    Execute OS commands and SSH/SFTP actions

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Origin validation
Exploitation Conditions

Requires that the victim has Electerm's built-in MCP Server widget actively running with its default configuration (bind 127.0.0.1, port 30837, apiKey empty so authentication is skipped) - this is the exact precondition and is NOT the default state of Electerm unless the user has enabled that widget. The attacker must also control a domain and perform DNS rebinding to 127.0.0.1, and the victim must be lured into visiting the attacker's page in a local browser (UI:P). Limiting factors: if the user sets a non-empty apiKey, the server enforces Bearer authentication and the attack fails; if the MCP widget is not running, there is no listener; and the AC:H/AT:P rebind timing adds real exploitation friction. Having an open SSH/SFTP session is required only to extend impact to remote hosts, not for local command execution.

Impact

This is a genuine, prioritize-this-week issue rather than a paper-high CVSS, but its real-world blast radius is gated by configuration. The CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:P) and 7.7 base score describe a network-reachable, unauthenticated flaw that nonetheless carries real friction: AC:H and AT:P reflect that the attacker must stand up DNS-rebinding infrastructure and win the rebind timing, and UI:P requires the victim to browse to an attacker-controlled page. PR:N is accurate because the MCP server ships with authentication disabled by default (apiKey:''), so no credentials are needed once the widget is running. Impact is severe and well-supported by source evidence: VC:H/VI:H/VA:H maps to full local OS command execution plus command/file access across already-open SSH sessions. No EPSS score and no CISA KEV entry were supplied, and the vuln.today Decision label is 'this_week' (not act_now/emergency) - consistent with a credible, vendor-confirmed bug that is not yet mass-exploited. The main caveat: exploitation is conditional on the user having the MCP Server widget actively running with the default empty apiKey, which narrows the exposed population well below Electerm's total install base. The finding was reported by VulnCheck and confirmed by the maintainer, and a fix exists, so the signals are consistent (serious impact, moderate exploitation friction, no confirmed in-the-wild use) and point to prompt patching rather than drop-everything emergency response.

Exploit ScenarioDerived

A victim running Electerm with the built-in MCP Server widget enabled on its default 127.0.0.1:30837 with no apiKey visits an attacker-controlled web page. That page uses DNS rebinding to re-resolve its own domain to 127.0.0.1, so the browser treats POST http://<rebound-domain>:30837/mcp as same-origin and the missing Host/Origin validation lets the page's JavaScript invoke unauthenticated MCP tools (open_electerm_local_terminal, execute_electerm_command) to run OS commands locally and across open SSH sessions, and read remote files via SFTP. The GHSA advisory includes a verification snippet proving the missing header validation, but it is a test double demonstrating the gap, not a packaged working browser exploit.

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 – Nov 25, 2026

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 default, runs with an empty API key, so unauthenticated JSON-RPC requests to POST /mcp are accepted; because the server validates neither the Host nor the Origin header, a malicious page that DNS-rebinds its own domain to 127.0.0.1 is treated as same-origin by the browser and can invoke tools such as open_electerm_local_terminal and execute_electerm_command to run OS commands on the workstation and across any open SSH sessions, and read or download remote files over SFTP. The precondition is specific: the victim must have the MCP Server widget actively running in its default configuration, must be lured into visiting the attacker's page (UI:R), and the rebind timing adds real exploitation friction (AC:H/AT:P). No public exploit code was identified at time of analysis and the issue is not in CISA KEV, but the vendor has released a fix in 5.9.0 and the priority label places remediation in this week's work.

RemediationAI

Vendor-released patch: Electerm 5.9.0 (https://github.com/electerm/electerm/releases/tag/v5.9.0, fixing commit 572551df2be4bdd7964fa0f9102b42f49bc8de7b); upgrading is the complete fix, since the vendor's changes close the origin-validation gap itself rather than relying on configuration. The 5.9.0 code builds an allowlist of acceptable Host header values from the configured bind address (adding 127.0.0.1, localhost, ::1 and [::1] spellings when bound to loopback), returns 403 for any Host outside that set and for any request carrying an Origin header at all, runs both checks before the body parser, generates a non-empty random API key ('ett_' plus 16 random bytes) whenever the configuration would otherwise start with authentication off, and compares the key with crypto.timingSafeEqual while also accepting it as ?apiKey= in the URL. Side effects of upgrading: the server URL now carries a generated key that must be re-pasted into local MCP clients, and any browser-originated request to the listener is refused with 403. If immediate upgrade is not possible, the evidence-backed interim mitigations are to stop the MCP Server widget when it is not in use so that no listener exists on port 30837, or to set a non-empty apiKey in the widget configuration, which makes the pre-5.9.0 server enforce the Bearer Authorization header and causes the rebinding attack to fail; note that if the bind address is changed to a wildcard such as 0.0.0.0 or ::, the Host check cannot constrain anything and the API key becomes the only boundary, so keeping the default loopback bind matters.

Affected VersionsENISA

electerm 0 <5.9.0

Affected Packages

euvd electerm fix: 5.9.0

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 terminal/SSH/SFTP client. Its MCP Server widget (src/app/widgets/widget-mcp-server.js) launches a local Express server implementing the MCP Streamable HTTP transport, with defaults host 127.0.0.1, port 30837 and apiKey '' (authentication skipped). The root cause is CWE-346 (origin validation error), compounded by CWE-306 (missing authentication for a critical function) and CWE-350 (reliance on reverse DNS) as tagged in the GitHub advisory: the middleware assumed that omitting the Access-Control-Allow-Origin response header blocks browser-originated requests, but CORS is never consulted once the browser considers the request same-origin. It performs no check of req.headers.host against 127.0.0.1/localhost/[::1] and never rejects a request that carries an Origin header. DNS rebinding defeats the loopback assumption: the page resolves its own hostname to 127.0.0.1, the browser sends Host and Origin for the attacker's domain, Content-Type: application/json keeps the POST out of preflight territory, and StreamableHTTPServerTransport.handleRequest dispatches tools/call without requiring a prior initialize handshake - so a single POST can chain open_electerm_local_terminal and execute_electerm_command and read back stdout. Exposed tools also include send_electerm_terminal_command, list_electerm_tabs and the electerm_sftp_* family. CPE cpe:2.3:a:electerm:electerm:*:*:*:*:*:*:*:* records the affected product without a version bound; the advisory range is <= 5.8.1, fixed in 5.9.0.

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

Browser-reachable but needs DNS-rebinding setup (AC:H) and a victim visiting the page (UI:R); no auth because the server defaults to apiKey-empty (PR:N); full local/SSH RCE gives C/I/A:H.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
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.9.0 contains an origin validation vulnerability in the MCP Server widget that allows remote attackers to execute commands by bypassing Host and Origin checks through DNS rebinding. Attackers can lure users to a page that rebinds to 127.0.0.1 and calls unauthenticated MCP tools on port 30837 to run OS commands locally and on open SSH sessions.

Technical POC Analysis

CWE-346 (Origin Validation Error) in Electerm's built-in MCP Server widget, src/app/widgets/widget-mcp-server.js.

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 and SSH client used by technical staff, ships an MCP Server component that by default exposes a local HTTP interface with no authentication, allowing a malicious website to potentially execute operating system commands on developer and administrator workstations and pivot into any open remote sessions. The exposure is limited to users who have the widget actively running and who are lured to a hostile page, but the consequence of successful abuse - command execution on privileged engineering endpoints and access to remote file systems - represents meaningful organizational risk. Leadership should care because compromise of these endpoints could yield credentials and access to production infrastructure, and remediation is readily available.

Business Impact: High
Compensating Controls

Vendor-released patch: 5.9.0

Threat Intelligence Overview

EPSS Score
0.4%
Top 77% exploitable
Prevalence
Low
niche open-source SSH/terminal client; vulnerable only when MCP widget enabled
Social Media
1
Sightings
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.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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

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

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