Electerm before 5.9.0: DNS rebinding reaches unauthenticated MCP server (CVE-2026-136630)
Summary
Electerm before 5.9.0 has an origin validation flaw in its MCP Server widget. DNS rebinding can bypass the Host and Origin checks, so a web page the user visits can call unauthenticated MCP tools on port 30837 and run OS commands locally and on open SSH sessions. The related GitHub advisory GHSA-45rj-2wq9-r9mr lists 5.8.1 and earlier as affected and describes the default settings, where the apiKey is empty, as the exposed configuration. Release 5.9.0 lists a fix.
Severity
Timeline
Maintainer published GitHub advisory GHSA-45rj-2wq9-r9mr covering the MCP HTTP server.
Advisory GHSA-44wm-wffw-6fq9 for CVE-2026-136630 was published, listing Electerm before 5.9.0.
How it happened
Per GHSA-45rj-2wq9-r9mr, the MCP Server widget binds by default to 127.0.0.1:30837 with an empty apiKey, so authentication is skipped. The server performs neither Host header nor Origin header validation. That advisory describes exploitation when a user running the widget with default settings visits an external page that uses DNS rebinding to resolve to 127.0.0.1, after which page JavaScript can reach the MCP tools. It describes the result as local OS command execution and command or file execution across active SSH sessions.
How to check your app
- before 5.9.0: Check the installed Electerm version. The CVE advisory lists versions before 5.9.0 as affected.
- 5.8.1 and earlier: The related GitHub advisory GHSA-45rj-2wq9-r9mr lists these versions as affected and versions above 5.8.1 as patched.
- 5.8.1 and earlier: Check whether the MCP Server widget is running with the default empty apiKey on port 30837, which is the configuration the GitHub advisory describes.
Sources
Corrections and updates
Cite this entry
- Title
- Electerm before 5.9.0: DNS rebinding reaches unauthenticated MCP server (CVE-2026-136630)
- Added
- Nov 25, 2026
- URL
- https://vibeincidents.com/incidents/electerm-cve-2026-136630/
- Suggested citation
VibeIncidents. "Electerm before 5.9.0: DNS rebinding reaches unauthenticated MCP server (CVE-2026-136630)." Nov 25, 2026. https://vibeincidents.com/incidents/electerm-cve-2026-136630/