Your local MCP server is reachable from any website
If you run an MCP server over HTTP on your own machine, list every config entry that connects by URL instead of by command, then check whether each of those listeners rejects a request carrying a foreign Host header. Any
If you run an MCP server over HTTP on your own machine, list every config entry that connects by URL instead of by command, then check whether each of those listeners rejects a request carrying a foreign Host header. Anything that answers 2xx to that request is reachable from a web page you visit.
That check is not hypothetical. On 19 November 2026, GitHub published a Critical advisory for the Todoist MCP server (CVE-2026-76807, CVSS 9.3). The advisory covers the optional HTTP entrypoint of @doist/todoist-mcp through version 10.3.2: it accepted POST /mcp without checking the Host or Origin headers, and its token check validated the server's own Todoist key rather than the browser caller. A page that rebinds its DNS name to 127.0.0.1 can therefore call the registered tools while the server runs, using the key the server holds. The advisory's proof of concept created a task and completed it. The stdio entrypoint is not reachable from a browser and was not affected.
Two details decide whether this is your problem:
- The fix shipped months before the disclosure. Version 10.3.3, released 24 June 2026, added Host and Origin validation. The advisory appeared on 19 November 2026, five months later. If you pinned an older version, you are still exposed even though nothing looks wrong.
-
HTTP mode is optional. Servers launched with a
commandandargsin your MCP config run over stdio and are outside this attack path. Servers connected by a URL are the ones this post is about.
Three shapes of the same miss
Reading the advisories side by side, the same boundary failed in three different ways. Knowing which shape you are looking at tells you what to change.
1. No check at all. The Todoist server validated the key it sends to its own backend and never asked who is calling it. The MCP route had no caller credential requirement.
2. A check that covers one path. The Jupyter MCP Server advisory (CVE-2026-77359, published 20 November 2026, fixed in 1.0.3) is the instructive one. Its main /mcp route did validate Host and Origin. The state-changing management routes added to the same app, PUT /api/connect and DELETE /api/stop, did not. A rebound page could repoint the connected Jupyter backend at attacker infrastructure and stop the current kernel. The advisory also notes the default bind to 0.0.0.0 widens who can reach the listener, but it is explicit that the defect is the missing origin boundary on those routes, not a missing Host check on /mcp.
3. Authentication available and not turned on. The obsidian-sync-mcp advisory (CVE-2026-77283, fixed in 0.5.7, released 10 July 2026) covers the server's no-auth mode: run without its auth token and a website can reach the vault. I did not open that advisory: its identifier, version, and release date come from the same third-party digest, so treat them as relayed until you check the advisory yourself.
A third-party digest I read counted twelve advisories published across 19 and 20 November for ten MCP servers and coding agents, most with fixes shipped between June and October 2026. That count comes from one digest, not from my own tally of the advisory database, so treat the number as relayed. The two advisories above I opened directly, and the Jupyter fix date is confirmed by the release reference in its own advisory.
The audit
This covers what an advisory cannot tell you about your own machine: which of your servers speak HTTP, and whether their checks actually fire. Save it as rebind_audit.sh, make it executable, and run it.
#!/usr/bin/env bash
# Find MCP servers your configs reach over HTTP, then ask each one
# whether it rejects a browser-shaped request.
set -u
command -v curl >/dev/null 2>&1 || { echo "curl missing" >&2; exit 2; }
configs="${MCP_CONFIG_PATHS:-$HOME/.claude.json $HOME/.claude/mcp.json $HOME/.cursor/mcp.json $HOME/.codex/config.toml}"
flags=0
seen=0
urls=$(grep -rhoE 'https?://127\.0\.0\.1:[0-9]+[^"]*|https?://localhost:[0-9]+[^"]*' $configs 2>/dev/null | sort -u)
if [ -z "$urls" ]; then
echo "OK: no HTTP-mode MCP endpoints found in config"
exit 0
fi
while IFS= read -r url; do
seen=$((seen + 1))
base="${url%%/mcp*}"
host_code=$(curl -s -o /dev/null -w '%{http_code}' -m 3 \
-H "Host: rebound.attacker.test" -H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' "$base/mcp")
orig_code=$(curl -s -o /dev/null -w '%{http_code}' -m 3 \
-H "Origin: https://rebound.attacker.test" -H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' "$base/mcp")
case "$host_code" in
200|204) echo "FLAG Host not checked ($host_code): $base"; flags=$((flags + 1)) ;;
401|403|421) : ;;
*) echo "UNKNOWN Host check inconclusive ($host_code): $base"; flags=$((flags + 1)) ;;
esac
case "$orig_code" in
200|204) echo "FLAG Origin not checked ($orig_code): $base"; flags=$((flags + 1)) ;;
401|403) : ;;
*) echo "UNKNOWN Origin check inconclusive ($orig_code): $base"; flags=$((flags + 1)) ;;
esac
done <<EOF
$urls
EOF
echo "checked $seen endpoint(s), $flags finding(s)"
[ "$flags" -eq 0 ] || exit 1
Three outcomes, and only three:
- exit 0, "no HTTP-mode MCP endpoints": your configs launch servers as child processes. This attack path does not apply to them.
- exit 0, "checked N endpoint(s), 0 finding(s)": each listener rejected the foreign Host and Origin. Re-run it after any SDK upgrade, because the protection lives in the library you compile in.
- exit 1: a server accepted a browser-shaped request, or the response was too ambiguous to call. Treat ambiguous as a finding. A 404 on /mcp does not prove the check exists, and a check that only covers some routes is the Jupyter shape.
One caveat about the probe: it sends a JSON-RPC body to /mcp. A server that mounts its MCP route elsewhere answers 404 to both probes, and the script reports that as inconclusive rather than clean. Read the output; do not just check the exit code.
What to do with a flag
Prefer stdio. If you only use the server from one client on one machine, launch it with a command instead of a URL. There is no port, so there is nothing to rebind. Both the Todoist advisory and the Jupyter advisory draw this line explicitly.
Upgrade rather than reconfigure. Todoist 10.3.3, Jupyter 1.0.3, obsidian-sync-mcp 0.5.7: those are the fixed versions the advisories name. If your config pins a version, a current install on another machine tells you nothing about the one you are running.
If you must run HTTP, require a caller secret. The Todoist advisory is direct about this: Host and Origin validation reduce rebinding exposure but they are not caller authentication. A browser will not attach your bearer token, so forged requests get a 401.
Check every route, not the one you tested. If you write MCP servers, put the Host and Origin check at the app boundary, before route dispatch. The Jupyter fix is the pattern: one policy for /mcp and the management routes alike.
Audit your logs once. Look for MCP requests whose Host is not a loopback name, and tool calls arriving from a browser user agent. Browsers do not normally talk to MCP servers. If the HTTP server ran while untrusted sites were open in the same browser, rotate the key it holds.
What this audit does not prove
A clean run means no config entry pointed at a loopback HTTP endpoint and every endpoint you probed rejected foreign headers. It does not cover servers started by hand outside your config files, ports bound to your LAN address, or SDK defaults. I did not verify the SDK-level defaults myself: reports that the TypeScript and Go SDKs shipped rebinding protection disabled, and that an enabled flag still did nothing without allowlists, come from write-ups of those advisories that I read rather than from the SDK source. Check your own SDK version and its release notes before you rely on any of it.
Header checks also stop browser-driven attacks only. A client that can forge both headers reaches the server anyway, which is why the advisories pair them with a token.
Sources
- GitHub Security Advisory, "Browser DNS rebinding lets websites write and delete Todoist data through local MCP server" (GHSA-833v-v58w-294h, CVE-2026-76807, rated Critical, CVSS 3.1 score of 9.3 filed by the GitHub CNA), published November 19, 2026. Read directly for affected range, fix version, proof-of-concept scope, severity, and score: https://github.com/todoist/todoist-mcp/security/advisories/GHSA-833v-v58w-294h
- GitHub Security Advisory, "Browser DNS rebinding can hijack the Jupyter backend through management routes" (GHSA-9x8x-crjq-g64h, CVE-2026-77359, rated Critical), published November 20, 2026. Read directly for the route-level gap, the 0.0.0.0 bind note, and severity: https://github.com/datalayer/jupyter-mcp-server/security/advisories/GHSA-9x8x-crjq-g64h
- HelixML threat watch entry on CVE-2026-76807, read November 21, 2026, secondary source for the June 24, 2026 release date of the 10.3.3 fix and the fix PR reference: https://helix.ml/threat-watch/i/dns-rebinding-in-doist-todoist-mcp-http-server-lets-websites-drive-todoist-tools-cve-2026-76807
- AlCybr, "DNS rebinding flaw exposes Todoist MCP HTTP servers," November 19, 2026, secondary write-up used to cross-check the affected range and the demonstration of task creation and completion: https://alcybr.com/blog/dns-rebinding-flaw-exposes-todoist-mcp-http-servers
- Pranava0x0, advisory digest covering November 19 and 20, 2026 publications, read November 21, 2026. Source of the twelve-advisory count, the obsidian-sync-mcp advisory above, and the fix-date table, all relayed rather than verified by me: https://pranava0x0.github.io/vibe-coding-security/advisories/2026-11-mcp-server-advisories-november-19-20-jupyter-todoist-k8s-sqlite-obsidian-codewhale-fixed-earlier.html
- Nodeflare, "Is Your Local MCP Server Open to Any Website?," read November 21, 2026, secondary source for the Streamable HTTP transport requirements: https://nodeflare.tech/blog/mcp-dns-rebinding-protection
- sorrelthorncroft, "Loopback Is Not a Trust Boundary for Todoist's HTTP MCP Server," dev.to, posted November 20, 2026. Same incident, incident-report framing; this post is the audit: https://dev.to/sorrelthorncroft/loopback-is-not-a-trust-boundary-for-todoists-http-mcp-server-3kbm
- VulDB, CVE-2026-76807 entry, read November 21, 2026, secondary source for the CWE-346 classification and the fixed-in-version wording: https://www.vuldb.org/cve/CVE-2026-76807
This post was written with AI assistance. The author is responsible for its content.
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.