Electerm’s default unauthenticated local MCP widget lacked Host and Origin validation, according to its maintainer advisory. The reported DNS-rebinding route could expose command and file tools under the existing local or SSH-session identity. Omitting a CORS response header did not supply the missing request-admission check. The advisory identifies…
Inspect the ClaimsCase · DiggingBeagle record
Electerm’s local MCP server trusted CORS omission without origin validation
Electerm’s advisory describes DNS rebinding against its default unauthenticated local MCP server because Host and Origin were not validated.
Published by DiggingBeagle:
Electerm’s built-in MCP widget through version 5.8.1 and its local or existing SSH-session tools; v5.9.0 names the correction in release notes.
Assessment profile
Assessment method- Setting
- research demonstration
- Exploitation
- not established
- Evidence
- Grade B
- Remediation
- patch available
- AI role
- AGAINST AI
Basis and provenance
Assessment follows the primary document cited by the added Claim. No independent reproduction was performed in this research session. The source reports a patch; deployment and recovery of previously affected systems are not verified. Impact remains ungraded because the evidence does not establish an operational affected-population denominator or a defensible corpus-wide harm band.
Assessed Nov 26, 2026 using diggingbeagle.assessment/1.
Evidence basis: CLM-E286-ELECTERM-MCP · Electerm local MCP origin vulnerability CVE affected version discrepancy · Electerm commit 572551d: mandatory MCP authentication and origin validation
At a glance
Whether a deployed binary contains the correction and the widget uses the intended authentication settings. Field exploitation or an independently reproduced end-to-end browser attack; the advisory uses a middleware test double.
Limits and uncertaintyFull account
Electerm’s default unauthenticated local MCP widget lacked Host and Origin validation, according to its maintainer advisory. The reported DNS-rebinding route could expose command and file tools under the existing local or SSH-session identity. Omitting a CORS response header did not supply the missing request-admission check.
The advisory identifies versions through 5.8.1. Its middleware test double demonstrates absent header validation, but is not an end-to-end browser rebinding and shell-execution trace. Serhii Shunko is credited as reporter.
The exact correction generates a key when absent, requires authentication before JSON parsing and rejects Origin headers. Host validation applies to restricted listeners; wildcard binds skip that Host check while retaining authentication. The v5.9.0 release notes explicitly name the advisory’s MCP correction, supplying a release beyond the advisory’s open-ended version label.
Patch availability, correct live configuration and cleanup of a previously exposed host are separate questions. The inspected sources do not establish field exploitation. The mechanism belongs to local-service trust, where loopback placement alone does not authenticate a caller.
Mechanism and trust boundary
- 01
The local MCP widget runs with its original empty-key default.
- 02
A browser request can carry an attacker-origin Host and Origin without rejection.
- 03
Accepted MCP calls inherit the terminal or existing SSH-session authority.
Claims & evidence
CLM-N26-ELECTERM-MCPElecterm’s advisory describes DNS rebinding against its default unauthenticated local MCP server because Host and Origin were not validated.supported
Basis: reported finding
- supportsElecterm local MCP origin vulnerability CVE affected version discrepancyprimary disclosure
Affected versions; Description; Impact; Patches or Mitigation
CLM-E286-ELECTERM-MCPThe advisory demonstrates missing header validation with a middleware test double. That supports the admission flaw but is not an end-to-end browser rebinding and shell trace; the maintainer names commit 572551d as the correction.supported
Basis: reported finding
- supportsElecterm local MCP origin vulnerability CVE affected version discrepancyprimary disclosure
Verification; Reporter Credit and Fixed in 572551d
CLM-E286-ELECTERM-PATCHCommit 572551df2be4bdd7964fa0f9102b42f49bc8de7b generates a key when absent and authenticates every request before JSON parsing. It rejects Origin headers; the Host allowlist is disabled for wildcard binds, leaving authentication as the principal boundary there.supported
Basis: direct observation
- supportsElecterm commit 572551d: mandatory MCP authentication and origin validationpatch commit artifact
src/app/widgets/widget-mcp-server.js: constructor, buildAllowedHosts, checkHost and authentication middleware
CLM-E286-ELECTERM-RELEASEElecterm’s v5.9.0 release notes list the MCP server DNS-rebinding fix for GHSA-45rj-2wq9-r9mr. This supplies a named release beyond the advisory’s open-ended patched-version label.supported
Basis: reported finding
- supportsElecterm release notes: v5.9.0 lists the MCP DNS-rebinding correctionvendor statement
v5.9.0 release, Bug fixes: Security: fix MCP server DNS rebinding
Controls and mitigations
- Use the maintainer correction with mandatory authentication and request-origin checks; loopback binding and omitted CORS headers do not independently authenticate the caller.
Unknowns and contradictions
- Whether a deployed binary contains the correction and the widget uses the intended authentication settings.
- Field exploitation or an independently reproduced end-to-end browser attack; the advisory uses a middleware test double.
Sources and citation
Material revision history
- Nov 26, 2026 · Published version · first publication · revision 288