CVE-2025-11490 Details
Description
A vulnerability has been found in wonderwhy-er DesktopCommanderMCP up to 0.2.13. The affected element is the function extractBaseCommand of the file src/command-manager.ts of the component Absolute Path Handler. Such manipulation leads to os command injection. The attack may be performed from remote. The exploit has been disclosed to the public and may be used. The vendor explains: "The usual use case is that AI is asked to do something, picks commands itself, and typically uses simple command names without absolute paths. It's curious why a user would ask the model to bypass restrictions this way. (...) This could potentially be a problem, but we are yet to hear reports of this being an issue in actual workflows. We'll leave this issue open for situations where people may report this as a problem for the long term."
A critical OS command injection vulnerability has been identified in wonderwhy-er DesktopCommanderMCP versions through 0.2.13. The issue arises in the 'extractBaseCommand' function within 'src/command-manager.ts', where the application fails to properly normalize command paths. This oversight allows users to bypass the command blocklist by specifying absolute paths to blocked commands, leading to arbitrary command execution. The vulnerability can be exploited remotely, and its impact varies based on the privileges of the user running the server.
It is recommended to modify the 'extractBaseCommand' function to normalize command inputs by extracting only the base name of the path, using Node.js's 'path.basename()' function before processing the command.
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/218 | CISA-ADP | ExploitIssue TrackingVendor Advisory |
| https://github.com/wonderwhy-er/DesktopCommanderMCP/issues/218#issue-3343855120 | CISA-ADP | ExploitIssue TrackingVendor Advisory |
| https://github.com/wonderwhy-er/DesktopCommanderMCP/issues/218#issuecomment-3214135034 | CISA-ADP | Issue Tracking |
| https://github.com/wonderwhy-er/DesktopCommanderMCP/issues/218 | [email protected] | ExploitIssue TrackingVendor Advisory |
| https://github.com/wonderwhy-er/DesktopCommanderMCP/issues/218#issue-3343855120 | [email protected] | ExploitIssue TrackingVendor Advisory |
| https://github.com/wonderwhy-er/DesktopCommanderMCP/issues/218#issuecomment-3214135034 | [email protected] | Issue Tracking |
| https://vuldb.com/?ctiid.327609 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.327609 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.668005 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
| CWE-77 | Improper Neutralization of Special Elements used in a Command ('Command Injection') | [email protected] |
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| wonderwhy-er desktopcommandermcp | <= 0.2.13 |
CPE
Remediation
| |
Change History
7 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 | CVE Modified | CISA-ADP |
| Oct 8, 2025 | New CVE Received | [email protected] |