Case · 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:

Scope

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.

At a glance

Mechanism and trust boundary

  1. 01

    The local MCP widget runs with its original empty-key default.

  2. 02

    A browser request can carry an attacker-origin Host and Origin without rejection.

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

Link to claim
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

Link to claim
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

Link to claim
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

Link to claim

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

  1. Nov 26, 2026 · Published version · first publication · revision 288

Published updates and corrections