DesktopCommanderMCP
CVE-2025-11489
LOW
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local system access
-
DeliveryAuthenticate to DesktopCommanderMCP
-
ExploitCreate symlink in accessible directory
-
ExecutionTrigger path validation bypass
-
ImpactRead file outside boundary
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Symlink resolution safety
|
| Exploitation Conditions | Exploitation requires: (1) local access to the system running DesktopCommanderMCP (AV:L from CVSS vector), (2) authenticated user privileges with permission to interact with DesktopCommanderMCP (PR:L from CVSS vector), (3) ability to create or control symbolic links in a directory that DesktopCommanderMCP monitors or accesses (typically the working directory or an LLM-accessible directory), and (4) DesktopCommanderMCP version 0.2.13 or earlier. The attack does not require user interaction (UI:N) once a malicious symlink is in place. High attack complexity (AC:H) indicates the attacker must navigate non-trivial path validation logic or specific directory structures, making casual or unskilled exploitation difficult. Deployment in Docker containers eliminates the practical exploitation condition, as container isolation prevents symlinks from traversing to the host filesystem. |
| Impact | Despite the public CVSS score of 1.1 (minimal severity), this vulnerability warrants careful contextual assessment. The EPSS score of 0.02% (6th percentile) aligns with the low CVSS rating and suggests minimal exploitation probability across the broader ecosystem. The CVSS vector (AV:L/AC:H/PR:L/UI:N/VC:L/VI:L/VA:L) confirms local-only attack vector with high complexity and low impact-information disclosure without modification or availability impact. The publicly available proof-of-concept lowers barriers to exploitation for motivated attackers with local access, yet the attack requires authenticated user privileges (PR:L) and high complexity (AC:H), significantly limiting real-world risk. The vendor's explicit statement that this product is no longer supported and their architectural recommendation to use Docker for security-critical deployments effectively limits the practical attack surface. Organizations using this tool in production should prioritize remediation, but the actual risk is substantially lower than raw CVSS might suggest for isolated or non-critical use cases. The key risk differential is deployment context: Docker-containerized instances isolate the impact, while bare-metal or VM deployments expose the host filesystem to symlink traversal. |
| Exploit ScenarioDerived | A local user with authenticated access to a DesktopCommanderMCP instance creates a symbolic link within the application's accessible directory that points to a sensitive file outside the intended boundary (e.g., /etc/passwd or application credentials). When the user or the LLM model running through DesktopCommanderMCP attempts to access this symlink, the isPathAllowed function fails to detect the symlink traversal due to the improper link resolution logic, allowing the attacker to read the target file's contents. Public proof-of-concept code demonstrating this technique is available, lowering the barrier to exploitation for attackers with local access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
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.
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.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Desktopcommandermcp gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
Primary rating from Vendor (vuldb) · only source for this CVE.
CVSS VectorVendor: vuldb
DescriptionCVE.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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Affected Products (CPE)CVE.org
More in Desktopcommandermcp
View allOS command injection in DesktopCommanderMCP up to version 0.2.13 allows authenticated remote attackers to execute arbitr
OS command injection in DesktopCommanderMCP up to version 0.2.13 allows authenticated remote attackers to execute arbitr
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB