CVE-2025-11489 Details
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.
A directory traversal vulnerability has been identified in wonderwhy-er DesktopCommanderMCP versions through 0.2.13. The issue arises in the 'isPathAllowed' function within 'src/tools/filesystem.ts', where the application fails to properly resolve symbolic links. This oversight allows an attacker to create a symlink in an allowed directory that points to a restricted file, bypassing directory access controls. The vulnerability enables arbitrary read or write operations on files, depending on the privileges of the user running the application. This could lead to exposure of sensitive information, such as SSH keys or configuration files, and potentially allow code execution if executable files are targeted.
The vulnerability can be addressed by modifying the 'isPathAllowed' function to resolve the true, canonical path of user-provided input, including all symbolic links. In Node.js, this can be done using 'fs.realpathSync()'.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 8, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/wonderwhy-er/DesktopCommanderMCP/issues/219 | [email protected] | ExploitIssue TrackingVendor Advisory |
| https://github.com/wonderwhy-er/DesktopCommanderMCP/issues/219#issue-3343862329 | [email protected] | ExploitIssue TrackingVendor Advisory |
| https://github.com/wonderwhy-er/DesktopCommanderMCP/issues/219#issuecomment-3214114903 | [email protected] | Issue Tracking |
| https://vuldb.com/?ctiid.327606 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.327606 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.668004 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-59 | Improper Link Resolution Before File Access ('Link Following') | [email protected] |
| CWE-61 | UNIX Symbolic Link (Symlink) Following | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| wonderwhy-er desktopcommandermcp | <= 0.2.13 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 8, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Dec 12, 2025 | Initial Analysis | [email protected] |
| Oct 8, 2025 | New CVE Received | [email protected] |