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."
Es wurde eine Schwachstelle in wonderwhy-er DesktopCommanderMCP up to 0.2.13 entdeckt. Betroffen hiervon ist die Funktion extractBaseCommand der Datei src/command-manager.ts der Komponente Absolute Path Handler. Durch das Beeinflussen mit unbekannten Daten kann eine os command injection-Schwachstelle ausgenutzt werden. Der Angriff kann remote ausgeführt werden. Die Ausnutzung wurde veröffentlicht und kann verwendet werden.
Problem types
Product status
0.2.1
0.2.2
0.2.3
0.2.4
0.2.5
0.2.6
0.2.7
0.2.8
0.2.9
0.2.10
0.2.11
0.2.12
0.2.13
Timeline
2025-10-08: | Advisory disclosed |
2025-10-08: | VulDB entry created |
2025-10-08: | VulDB entry last update |
Credits
crem (VulDB User)
References
vuldb.com/?id.327609 (VDB-327609 | wonderwhy-er DesktopCommanderMCP Absolute Path command-manager.ts extractBaseCommand os command injection)
vuldb.com/?ctiid.327609 (VDB-327609 | CTI Indicators (IOB, IOC, TTP, IOA))
vuldb.com/?submit.668005 (Submit #668005 | wonderwhy-er DesktopCommanderMCP 0.2.13 OS Command Injection)
github.com/wonderwhy-er/DesktopCommanderMCP/issues/218
github.com/wonderwhy-er/DesktopCommanderMCP/issues/218
github.com/wonderwhy-er/DesktopCommanderMCP/issues/218