CVE-2025-11489 wonderwhy-er DesktopCommanderMCP filesystem.ts isPathAllowed symlink

Low 2.0 Published Updated

Local attackers can bypass path restrictions via symlink following in Desktop Commander MCP, potentially accessing or modifying unauthorized files.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-11489?

CVE-2025-11489 is a low-severity path traversal vulnerability in wonderwhy-er DesktopCommanderMCP, published on 8 Oct 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A security vulnerability has been detected in wonderwhy-er DesktopCommanderMCP up to 0.2.13. This vulnerability affects the function isPathAllowed of the file src/tools/filesystem.ts. The manipulation leads to symlink following. The attack can only be performed from a local environment. The attack's complexity is rated as high. It is stated that the exploitability is difficult. The exploit has been disclosed publicly and may be used. The vendor explains: "Our restriction features are designed as guardrails for LLMs to help them stay closer to what users want, rather than hardened security boundaries. (...) For users where security is a top priority, we continue to recommend using Desktop Commander with Docker, which provides actual isolation. (...) We'll keep this issue open for future consideration if we receive more user demand for improved restrictions." This vulnerability only affects products that are no longer supported by the maintainer.

Weakness: CWE-61, CWE-59

Which versions are affected by CVE-2025-11489?

It affects 1 product.

Products include Wonderwhy-Er Desktopcommandermcp.

How do I fix CVE-2025-11489?

No fix has been published for CVE-2025-11489 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2025-11489 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-11489 exists.

Sources

Also known as GHSA-2jf9-5hf7-r448.

Is CVE-2025-11489 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free