Skip to main content
Menu
CVEs

Electerm remote code execution in MCP server via DNS rebinding

Electerm 5.8.1 or earlier with the built-in MCP Server widget at default settings (apiKey empty) is exposed. Fixed in 5.9.0.

CVE-2026-136630Published November 25, 2026, updated

7.7HighCNA
Exploited
No known exploitation
Fix
Fixed in 5.9.0
Who is exposed
Specific setups only

Summary

Electerm's MCP Server widget has an origin validation flaw that lets a remote attacker run operating system commands on the local machine and on open SSH sessions. The attacker lures a user to a malicious web page that uses DNS rebinding to reach the widget without logging in, so the user must visit the page.

Written by a model

Original description

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.

Who should check

Teams running Electerm 5.8.1 or earlier (npm electerm) with the MCP Server widget running at default settings on workstations with a browser

“In Electerm ( <= 5.8.1 ), the built-in MCP Server widget”

github.com

What to do

  1. Check whether your setup matches what the bug needs.

    Electerm 5.8.1 or earlier, with the built-in MCP Server widget The MCP Server widget is running with default settings (apiKey empty) The victim visits a web page that uses DNS rebinding to 127.0.0.1 in a local browser
  2. Upgrade to a fixed version: 5.9.0.

Check your systems with an agent

Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.

Check whether my systems are affected by CVE-2026-136630 (Electerm before 5.9.0 RCE via DNS Rebinding in MCP Server Widget), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-136630 (entry last updated 2026-11-25):
Affected:
- npm package electerm: fixed in 5.9.0
Fixed versions: 5.9.0.
Conditions (all must be true for the bug to be hit):
- Electerm 5.8.1 or earlier, with the built-in MCP Server widget (source: https://github.com/electerm/electerm/security/advisories/GHSA-45rj-2wq9-r9mr)
- The MCP Server widget is running with default settings (apiKey empty) (source: https://github.com/electerm/electerm/security/advisories/GHSA-45rj-2wq9-r9mr)
- The victim visits a web page that uses DNS rebinding to 127.0.0.1 in a local browser (source: https://github.com/electerm/electerm/security/advisories/GHSA-45rj-2wq9-r9mr)
Setup: the bug is reachable in a default setup; no special feature or setting is needed.
Attacker needs: network access, no login, a user action.
CISA KEV: CVE-2026-136630 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-136630 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Packages (npm): find every lockfile in each project and run the stack.check operation of the cve.now MCP server (execute) on each one. Compare the resolved versions, not the ranges a manifest declares, with the affected versions above. Include transitive dependencies.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/electerm/electerm/security/advisories/GHSA-45rj-2wq9-r9mr
- https://github.com/electerm/electerm/commit/572551df2be4bdd7964fa0f9102b42f49bc8de7b
- https://github.com/electerm/electerm/releases/tag/v5.9.0
- https://github.com/electerm/electerm/blob/v5.8.0/src/app/widgets/widget-mcp-server.js#L1142-L1161
- https://github.com/electerm/electerm/blob/v5.8.0/src/app/widgets/widget-mcp-server.js#L1191-L1222
- https://www.vulncheck.com/advisories/electerm-before-5.9.0-rce-via-dns-rebinding-in-mcp-server-widget
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-136630
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-136630"}.

Affected versions

cve.now Index

30Pof 100 · provisional · methodology v3
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure12/25Specific setups only, reachable over the network without a login
  • Reach10/20Affects npm packages
  • Severity7.7/10CVSS 7.7
  • No patch0/5No signal

What would change the score

  • Would score about 80 if added to CISA KEV
  • Would score about 75 if CISA's SSVC rates exploitation active

Impact

Timeline

  1. CVE published
  2. First seen by cve.now

Evidence 8

Questions about CVE-2026-136630

Is CVE-2026-136630 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: cve.now feed data

What does this mean?

A web page can use DNS rebinding to reach the MCP Server widget on 127.0.0.1 from a local browser. The reported impact is arbitrary local OS command execution and remote command and file execution across active SSH sessions.

Source: github.com, vulncheck.com

Which versions are affected by CVE-2026-136630?

electerm (npm): before 5.9.0.

Source: cve.now feed data

Am I affected, and how do I check?

Electerm 5.8.1 or earlier, with the built-in MCP Server widget running at default settings (apiKey empty), when a victim visits an external web page that uses DNS rebinding to 127.0.0.1 in a local browser. To check your setup, look at your Electerm version and whether the MCP Server widget's apiKey is set.

Source: github.com, vulncheck.com

How do I fix CVE-2026-136630?

Upgrade Electerm to 5.9.0, the listed fixed version.

Source: github.com, vulncheck.com

No corrections so far. Something wrong on this page? Report an error.