This is the request Oligo Security used to show CVE-2025-49596:
http://0.0.0.0:6277/sse?transportType=stdio&command=touch&args=%2Ftmp%2Fexploited-from-the-browser
Port 6277 is where MCP Inspector's proxy listened. Inspector is the official tool for poking at an MCP server while you build it: a web UI on one port, and a proxy on another that connects to your server. transportType=stdio told the proxy to start the server as a local process, and command and args said which process. Before version 0.14.1 the proxy asked for no token, so it started whatever it was given. In the demo that was touch. A reverse shell fits in the same two parameters.
The request came from a web page. Oligo's example was a blog post about MCP with a bit of JavaScript in it. You read it while Inspector runs in another terminal, and the script sends that request to your machine.
A browser won't let a page read a response from another origin, but it still sends a plain GET. For most local services that's harmless, because nothing happens until someone reads the answer. Inspector did the work on receipt, so the page never needed to see the response.
Then the address. 0.0.0.0 reaches services on your own machine, and browsers don't treat it with the suspicion they give localhost and private IPs. Oligo called this out in 2024 as the "0.0.0.0-day", and their write-up on this CVE says Chromium and Firefox still let it through. They showed DNS rebinding as a second route: a domain that first resolves to the attacker's server and then to 127.0.0.1, so the browser keeps treating the page and your local port as the same site.
Oligo also notes the attack worked even when the proxy listened only on 127.0.0.1. Listening on loopback decides which machine can connect, and the browser on that machine was the way in.
The score is 9.4 under CVSS 4.0, from GitHub's advisory. The only thing it needs from you is the page visit.
Oligo reported it to Anthropic on 18 April 2025, and the fix shipped on 13 June in 0.14.1. It put two checks in front of the sensitive routes: a random session token generated at each launch, the way Jupyter does it, and an allow-list for the Origin header. Inspector opens the UI with the token in the URL, so your tab has it and a page on another site doesn't. The Origin check is for the browser routes, since a cross-site request carries the attacker's origin. It also changed the proxy's default bind from every interface to 127.0.0.1, which keeps other machines off the port but, as Oligo showed, not the browser on yours.
Both were published as advisories on the Inspector repo on 21 October 2026, a bit over a year later.
In the v2 rewrite, versions 2.0.0 to 2.11.0, it was DNS rebinding again (GHSA-vcc9-3xgm-p9v4, fixed in 2.12.0). The Origin check let through any request with no Origin header, and browsers leave it off same-origin GETs. Nothing checked the Host header. And GET /, which sat outside the protected routes, served the page with the API token written into it. After a rebind the attacker's page fetched / as a same-origin request, read the token, and used it to read the stored OAuth tokens and local client config. Starting a process still failed, because that endpoint is a POST and browsers do send Origin on a POST. Every OAuth token Inspector held was readable anyway.
The older line, 0.14.1 to 1.0.2, had a gap that only matters if you turned the token off with DANGEROUSLY_OMIT_AUTH (GHSA-wmjf-2m46-2352, fixed in 1.0.3). The Origin check was then the only thing left, and it also waved through requests with no Origin header. A browser sends one on the POST that starts a process. A script talking to the port directly doesn't have to. So with that flag set, anything that could reach the port without a browser could launch processes.
The current Inspector binds 127.0.0.1 by default, generates a token per launch (or takes yours from MCP_INSPECTOR_API_TOKEN), checks Origin and Host against allow-lists, and refuses an all-interfaces HOST unless you also set DANGEROUSLY_BIND_ALL_INTERFACES. Its docs say why in one line: the backend spawns processes on request.
Two settings undo most of that. DANGEROUSLY_OMIT_AUTH=true removes the token. DANGEROUSLY_BIND_ALL_INTERFACES puts the backend on your network, and the Docker image sets it because inside a container it has to. That's why the Docker docs tell you to publish the port as -p 127.0.0.1:6274:6274. A bare -p 6274:6274 publishes it on every interface of your machine.
None of this is specific to Inspector. Any dev tool that opens a port while you work can be checked the same way in a couple of minutes. (For MCP servers you write yourself, the MCP security checklist I posted in October covers the server side.)
See what's listening, and on which address:
lsof -nP -iTCP -sTCP:LISTEN
ss -ltnp
127.0.0.1:<port> is loopback only. *:<port>, 0.0.0.0:<port> or [::]:<port> is every interface, so anyone on the same wifi can connect.
Then for each one:
curl -i it with no cookies. If you get in without a token, the only thing between it and a web page is what it does with the Origin and Host headers.export PRIVATE_KEY=... for forge script and then start a local tool from the same terminal, every process that tool starts has the key too.
Adapted from a piece our team published on zealynx.io. It adds the disclosure dates, the two October 2026 advisories on gaps in that fix, the current Inspector defaults and the checks for other local tools, and drops the OWASP mapping.
I wrote this with help from AI for drafting and editing. The opinions and the audit experience are mine.