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."
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · Attack vector: Network| https://github.com/wonderwhy-er/DesktopCommanderMCP/issues/218 | ExploitIssue TrackingVendor Advisory |
| https://github.com/wonderwhy-er/DesktopCommanderMCP/issues/218#issue-3343855120 | ExploitIssue TrackingVendor Advisory |
| https://github.com/wonderwhy-er/DesktopCommanderMCP/issues/218#issuecomment-3214135034 | Issue Tracking |
| https://vuldb.com/?ctiid.327609 | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.327609 | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.668005 | Third Party AdvisoryVDB Entry |
A short explanation of who is affected, the impact and what to do, written only from this record's data.
AI isn't configured on this server (set AI_PROVIDER and an API key).
Add the affected products to your watchlist and get an e-mail when new CVEs list your versions.
+ Wonderwhy-Er Desktopcommandermcp