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."
Affected products
wonderwhy-er: desktopcommandermcp
References9
- github.com/wonderwhy-er/DesktopCommanderMCP/issues/218 ExploitIssue TrackingVendor Advisory
- github.com/wonderwhy-er/DesktopCommanderMCP/issues/218#issue-33… ExploitIssue TrackingVendor Advisory
- github.com/wonderwhy-er/DesktopCommanderMCP/issues/218 ExploitIssue TrackingVendor Advisory
- github.com/wonderwhy-er/DesktopCommanderMCP/issues/218#issue-33… ExploitIssue TrackingVendor Advisory
- github.com/wonderwhy-er/DesktopCommanderMCP/issues/218#issuecom… Issue Tracking
- vuldb.com/?ctiid.327609 Permissions RequiredVDB Entry
- vuldb.com/?id.327609 Third Party AdvisoryVDB Entry
- vuldb.com/?submit.668005 Third Party AdvisoryVDB Entry
- github.com/wonderwhy-er/DesktopCommanderMCP/issues/218#issuecom… Issue Tracking
Metrics
- CVSS 3.1
-
9.8
CRITICAL
Score source: NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 4.0
-
2.1
LOW
Score source: CNA
CVSS:4.0/AV:N/AC:L/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 - EPSS — exploit probability
- 4% percentile: 89 · as of 9 November 2026
- CWE
- CWE-77CWE-78
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.