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.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| electerm | electerm | < 5.9.0 |
References
- 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://github.com/electerm/electerm/commit/572551df2be4bdd7964fa0f9102b42f49bc8de7b
- https://github.com/electerm/electerm/releases/tag/v5.9.0
- 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
Timeline
- Published
- Nov 25, 2026
- Last modified
- Nov 30, 2026
- NVD status
- Deferred