International
The Morning Dev

Only the news worth knowing

‹
 

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 Server Only Listened on 127.0.0.1: How DNS Rebinding Turned Local MCP Servers Into Web-Reachable Tools

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

  1. Check whether local MCP servers validate the Host and Origin headers, and apply the fixes in the advisories.

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…

Timeline

  1. Two advisories published describing the DNS rebinding gap in local MCP servers

  2. DEV Community: python

    The Server Only Listened on 127.0.0.1: How DNS Rebinding Turned Local MCP Servers Into Web-Reachable Tools

How do you feel about this?

0 Comments