Critical RCE Vulnerability in Anthropic MCP Inspector – CVE-2025-49596
The MCP Inspector proxy lacked authentication, so a malicious website could send a request to the local inspector and make it run arbitrary commands on the developer's machine. This allowed an attacker to take over the host when the victim visited a crafted page.
oligo.security
Published on oligo.security
Oligo Security Research reported a Remote Code Execution (RCE) vulnerability and DNS rebinding in the MCP Inspector project to Anthropic, leading to CVE-2025-49596 being issued, with a Critical CVSS Score of 9.4.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
The MCP Inspector proxy accepted unauthenticated requests and did not verify the origin of browser requests, so any web page could reach it on localhost.
Impact
An attacker could gain full access to the developer's machine, steal data, install backdoors, open reverse shells and move laterally, though the text notes the fix now blocks browser-origin attacks when the server binds only to localhost.
What the attacker needed
Victim runs MCP Inspector below 0.14.1; victim visits a malicious website; browser allows requests to [redacted]
The fix
Version 0.14.1 added a session token by default and allowed-origin verification, and the documentation was updated.
How it was found
- Run the mcp dev command, which starts the MCP Inspector proxy listening on port 6277.
- An attacker places JavaScript on a public web page.
- The JavaScript sends a request to the inspector at the [redacted] address.
- The inspector executes the attacker-supplied command on the victim's machine.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
The MCP Inspector is a tool developers run on their own computer to test AI server connections. It had no password or check on who could talk to it, so any website the developer visited could quietly send it instructions to run programs. That let an attacker run their own commands on the developer's machine.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.