CVE-2025-11490 wonderwhy-er DesktopCommanderMCP Absolute Path command-manager.ts extractBaseCommand os command injection
Remote attackers can execute arbitrary OS commands via the extractBaseCommand function in DesktopCommanderMCP, potentially compromising the host system.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-11490?
CVE-2025-11490 is a medium-severity command injection vulnerability in wonderwhy-er DesktopCommanderMCP, published on 8 Oct 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability has been found in wonderwhy-er DesktopCommanderMCP up to 0.2.13. The affected element is the function extractBaseCommand of the file src/command-manager.ts of the component Absolute Path Handler. Such manipulation leads to os command injection. The attack may be performed from remote. The exploit has been disclosed to the public and may be used. The vendor explains: "The usual use case is that AI is asked to do something, picks commands itself, and typically uses simple command names without absolute paths. It's curious why a user would ask the model to bypass restrictions this way. (...) This could potentially be a problem, but we are yet to hear reports of this being an issue in actual workflows. We'll leave this issue open for situations where people may report this as a problem for the long term."
Which versions are affected by CVE-2025-11490?
It affects 1 product.
Products include Wonderwhy-Er Desktopcommandermcp.
How do I fix CVE-2025-11490?
No fix has been published for CVE-2025-11490 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2025-11490 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-11490 exists.
Other vulnerabilities in wonderwhy-er DesktopCommanderMCP
Sources
Also known as GHSA-j878-h566-h85x.