(0Day) MCP Manager for Claude Desktop execute-command Command Injection Sandbox Escape Vulnerability
The MCP Manager for Claude Desktop fails to validate user-supplied strings in MCP config objects before using them in a system call, allowing command injection. An attacker can exploit this to escape the sandbox and execute arbitrary code with medium integrity.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to bypass the sandbox on affected installations of MCP Manager for Claude Desktop. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
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 report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application fails to sanitise or validate user-controlled strings in MCP config objects before passing them to a system call.
Impact
An attacker could escape the sandbox and execute arbitrary code in the context of the current process at medium integrity, but user interaction is required.
What the attacker needed
Victim visits a malicious page; or opens a malicious file
The fix
The vendor has not released a fix; the only mitigation is to restrict interaction with the product.
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 report has not been written yet. The Original tab links to the source.
This is a command injection bug. The program takes a string from a configuration file and runs it as a system command without checking it first. An attacker who can make the victim open a malicious file or visit a malicious page can run their own commands on the victim's computer, breaking out of the sandbox.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.