DesktopCommanderMCP
CVE-2025-11489
LOW
Severity by source
CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
1DescriptionCVE.org
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.
AnalysisAI
Symlink following in DesktopCommanderMCP up to version 0.2.13 allows local authenticated attackers to read files outside intended directory boundaries through the isPathAllowed function in filesystem.ts. The vulnerability requires local access and authenticated user privileges, with high attack complexity and low exploitability difficulty despite public availability of proof-of-concept code. This affects only unsupported product versions and carries minimal real-world risk (CVSS 1.1, EPSS 0.02%), though the vendor acknowledges the issue as a guardrail limitation rather than a hardened security boundary.
Technical ContextAI
DesktopCommanderMCP is an Model Context Protocol tool that provides filesystem access to LLM applications. The vulnerability exists in the path validation logic of src/tools/filesystem.ts, specifically in the isPathAllowed function which is responsible for enforcing directory traversal restrictions. CWE-59 (Improper Link Resolution Before File Access, also known as 'symlink following') indicates that the function fails to properly detect and reject symbolic links that point outside the intended restricted directory. When an LLM or authorized user interacts with the filesystem through DesktopCommanderMCP, a crafted symlink can bypass the path validation guardrails, allowing access to arbitrary files readable by the application's process. The affected CPE is cpe:2.3:a:wonderwhy-er:desktopcommandermcp:*:*:*:*:*:*:*:* with impact limited to versions 0.2.13 and earlier.
RemediationAI
Users of DesktopCommanderMCP should immediately upgrade to the latest version beyond 0.2.13 if available. Alternatively and preferentially, the vendor recommends deploying DesktopCommanderMCP within Docker containers to achieve true isolation-this eliminates the practical risk of symlink traversal accessing host files outside the container's filesystem. For installations that cannot be immediately updated, restrict local access to DesktopCommanderMCP to trusted users only by implementing OS-level access controls (e.g., firewall rules, process restrictions, or user privilege separation), understanding that this reduces but does not eliminate the attack surface. Additionally, audit filesystem permissions on systems running DesktopCommanderMCP to ensure the application process runs with minimal necessary privileges, limiting readable files in the event of symlink traversal. Note that these compensating controls do not address the underlying vulnerability and should be temporary measures pending upgrade. For detailed vulnerability discussion and community feedback, see https://github.com/wonderwhy-er/DesktopCommanderMCP/issues/219.
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac
Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post
Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten
Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build
Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config
Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per
Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l
Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c
Vasion Print (formerly PrinterLogic) Virtual Appliance Host prior to version 25.2.169 and Application prior to version 2
Same weakness CWE-59 – Improper Link Resolution Before File Access
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today