CVE-2026-136630
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 a…
Impact
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.
An attacker can exploit this over the network, without logging in, but a user has to be involved, for example by viewing content. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected products (Electerm)
| Product | Affected versions |
|---|---|
| Electerm | before 5.9.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- 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
- https://github.com/advisories/GHSA-44wm-wffw-6fq9
- https://nvd.nist.gov/vuln/detail/CVE-2026-136630