Skip to main content

DesktopCommanderMCP CVE-2025-11489

LOW
Improper Link Resolution Before File Access (CWE-59)
2025-10-08 cna@vuldb.com
1.1
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local system access
  2. Delivery
    Authenticate to DesktopCommanderMCP
  3. Exploit
    Create symlink in accessible directory
  4. Execution
    Trigger path validation bypass
  5. Impact
    Read 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (vuldb) PRIMARY 1.1 LOW
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

Attack Vector
Local
Attack Complexity
High
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.0%
Top 94% exploitable
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
Poc
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Low

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +6
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:wonderwhy-er:desktopcommandermcp:*:*:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy