Urgent.News

What's breaking now, across hundreds of outlets.

Tech

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

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 (GHSA-833v-v58w-294h) covers the Todoist MCP server's optional HTTP mode, versions up to 10.3.2, fixed in 10.3.3, CVSS 3.1 score 9.3…

Two advisories published on November 19, 2026 highlight a security flaw in local MCP (Multi-Command Protocol) servers that communicate over HTTP. The servers bind to the loopback address (127.0.0.1) but fail to verify the Host or Origin headers in incoming requests. This oversight allows a web page being viewed by the user to manipulate the server, turning the local MCP server into a web-accessible tool.

The Todoist MCP server is vulnerable when operating in its optional HTTP mode, with versions up to 10.3.2, which were fixed in version 10.3.3. The vulnerability is rated Critical with a CVSS score of 9.3. The Obsidian-sync MCP server is affected when running in no-auth mode, versions up to 0.5.6, and has been patched in version 0.5.7. The root cause, as described in both advisories, stems from a misplaced trust assumption: "bound to 127.0.0.1" is mistakenly considered "only local programs can reach it."

The fundamental issue lies in the belief that being bound to the loopback address restricts access to local programs only. However, a browser, being a local program that executes attacker JavaScript, can make requests to this server. Despite a check on the Host or Origin header blocking many requests, the transport layer does not validate these headers, leaving the server open to manipulation either through DNS rebinding or direct cross-origin requests.

DNS rebinding is a technique where an attacker first registers a domain (e.g., evil.example) and directs the attacker's DNS server to resolve this domain to their own IP address. Then, after a short delay, the DNS server is configured to resolve the same domain to the loopback address (127.0.0.1). The browser, unaware of this DNS switch, continues to consider the origin as evil.example, allowing the attacker to bypass same-origin policy restrictions.

A Host header revealing evil.example bypasses the server's loopback binding, while a direct cross-origin fetch can also exploit this by attaching an attacker-controlled Origin header.

Direct cross-origin requests bypass the loopback check since the browser directly attempts to connect to 127.0.0.1, passing the Host as 127.0.0.1, which passes the loopback check. However, the Origin header, specified by the attacker, reveals the true origin, signaling a potential security threat.

To mitigate this vulnerability, both Todoist and Obsidian have released updates. Todoist version 10.3.3 checks both the Host and Origin headers, rejecting requests that do not match the expected configurations. Obsidian version 0.5.7 similarly validates both headers, rejecting requests with falsified Host or Origin values before processing MCP messages. These fixes require both the Host and Origin headers to align with the expected values before the server processes any MCP requests.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

How I built Panther Panchali: The Living Canvas

Most of us own at least one photograph of a place we cannot name. A crumbling arched gateway in a mango grove. A terracotta frieze catching the late afternoon light.

  • Panther Panchali app brings photos to life with AI mapping.
  • Users can listen to place stories and view live weather.
  • Open source project focuses on West Bengal's 23 districts.

A Vector Layer Policy for Resizing Hand-Tufted Rug Patterns Without Distortion

A custom rug configurator usually starts with a simple operation. Take the reference SVG, measure its bounding box, and scale it to the requested width and length.

  • Rug configurator requires SVG reference, bounding box measurement
  • Hand-tufted designs need specific vector layer treatment
  • Policies ensure intended behavior during resizing

Four KEV Additions Show Why CVSS Alone Cannot Set Patch Priorities

CISA added vulnerabilities affecting Apache Roller, Cisco Expressway, SAP NetWeaver Enterprise Portal and VMware vCenter to its Known Exploited Vulnerabilities catalog, citing evidence of active…

  • CISA added four new vulnerabilities to Known Exploited Vulnerabilities catalog
  • CVSS scores range from 6.5 to 9.8, but are insufficient for patch priorities

More from Thursday 26 November →