Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-11490: OS Command Injection in wonderwhy-er DesktopCommanderMCP

0
Medium
VulnerabilityCVE-2025-11490cvecve-2025-11490
Published: Wed Oct 08 2025 (10/08/2025, 18:32:05 UTC)
Source: CVE Database V5
Vendor/Project: wonderwhy-er
Product: DesktopCommanderMCP

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."

AI-Powered Analysis

AILast updated: 10/23/2025, 04:43:04 UTC

Technical Analysis

CVE-2025-11490 is an OS command injection vulnerability identified in the DesktopCommanderMCP software developed by wonderwhy-er, affecting all versions up to 0.2.13. The vulnerability resides in the extractBaseCommand function of the src/command-manager.ts file, specifically within the Absolute Path Handler component. This function is responsible for processing commands, and due to insufficient validation or sanitization of input, it allows an attacker to inject arbitrary operating system commands. The attack vector is remote, meaning an attacker can exploit this vulnerability over a network without requiring user interaction. The vulnerability is particularly notable because DesktopCommanderMCP is designed to interface with AI systems that autonomously select and execute commands, which may increase the risk if the AI is manipulated or tricked into executing malicious commands. The vendor acknowledges the potential risk but indicates no known exploitation in actual workflows to date. The CVSS 4.0 base score is 5.3, indicating a medium severity level, with attack vector as network, low attack complexity, no privileges required, no user interaction, and limited impact on confidentiality, integrity, and availability. Although no patches are currently linked, the public disclosure of the exploit increases the urgency for organizations to implement mitigations or updates once available.

Potential Impact

For European organizations, the impact of CVE-2025-11490 can be significant depending on their reliance on DesktopCommanderMCP, particularly in environments where AI-driven command execution is integrated into critical workflows. Successful exploitation could allow attackers to execute arbitrary OS commands remotely, potentially leading to unauthorized data access, system compromise, or disruption of services. This could affect confidentiality, integrity, and availability of systems. Sectors such as finance, manufacturing, and technology firms employing AI automation tools may face increased risk. Additionally, organizations with weak network segmentation or insufficient monitoring could see lateral movement or privilege escalation attempts following exploitation. The medium severity rating suggests moderate risk, but the public availability of the exploit code raises the likelihood of future attacks, especially in environments where patching is delayed. The lack of current known exploits in the wild provides some reprieve but should not lead to complacency.

Mitigation Recommendations

To mitigate CVE-2025-11490, organizations should implement the following specific measures: 1) Apply strict input validation and sanitization on all command inputs processed by DesktopCommanderMCP, especially within the extractBaseCommand function, to prevent injection of malicious OS commands. 2) Restrict the execution environment by enforcing least privilege principles, ensuring the software runs with minimal necessary permissions to limit potential damage from exploitation. 3) Monitor and log command execution activities to detect anomalous or unauthorized commands promptly. 4) Network segmentation should be employed to isolate systems running DesktopCommanderMCP from critical infrastructure and limit remote attack surfaces. 5) Engage with the vendor for patches or updates addressing this vulnerability and prioritize their deployment once available. 6) If possible, disable or restrict AI components that autonomously select commands until the vulnerability is remediated. 7) Conduct regular security assessments and penetration testing focusing on command injection vectors within AI-driven automation tools. These targeted actions go beyond generic advice and address the specific nature of this vulnerability.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
VulDB
Date Reserved
2025-10-08T10:53:40.882Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 68e6b1852ff6d6ea8f091143

Added to database: 10/8/2025, 6:46:29 PM

Last enriched: 10/23/2025, 4:43:04 AM

Last updated: 11/23/2025, 6:01:41 AM

Views: 45

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats