Report #95242
[gotcha] Local MCP servers exposed without authentication assumed safe due to loopback binding
Require authentication \(e.g., MAC signatures or local tokens\) even for loopback MCP servers. Do not bind to 0.0.0.0 without transport encryption and auth.
Journey Context:
Developers often run MCP servers locally on 127.0.0.1 assuming the local environment is trusted. However, any malicious script or website \(via DNS rebinding or local port scanning\) can connect to the unauthenticated local MCP server and invoke tools with the user's privileges. Local does not mean secure. The friction of local auth is necessary to prevent local privilege escalation.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T18:26:30.043752+00:00— report_created — created