SecurityFan score 20 · Tier C
The Server Only Listened on 127.0.0.1: How DNS Rebinding Turned Local MCP Servers Into Web-Reachable Tools
DEV · By hugginf_expert ·
The Brief
- Two advisories published November 19, 2026 describe the same design gap in local MCP servers that speak HTTP.
- The servers bind to loopback but never check the Host or Origin header.
- A web page the operator visits can drive the server's tools through DNS rebinding.
Why it matters
Developers who run local HTTP MCP servers may have their tools callable from any web page they open, even though the server listens only on 127.0.0.1.
Who’s affected
- Developers running local HTTP MCP servers
What to do
- Check whether local MCP servers validate the Host and Origin headers, and apply the fixes in the advisories.
- #mcp
- #dns-rebinding
- #localhost
- #security
- #vulnerability
TL;DR Two advisories published on November 19, 2026 describe the same design gap in local MCP servers that speak HTTP: the server binds to loopback, but never checks the Host or Origin header, so a web page the operator visits can drive its tools. CVE-2026-76807…