DesktopCommanderMCP
CVE-2025-11491
LOW
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to DesktopCommanderMCP
-
DeliverySubmit crafted command with shell injection payload
-
ExploitCommandManager executes unsanitized input
-
ExecutionOS shell interprets metacharacters
-
PersistArbitrary command executes with application privileges
-
ImpactAttacker gains access to application data or OS resources
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires prior authentication to DesktopCommanderMCP (CVSS vector PR:L). An authenticated user must have access to the CommandManager function and the ability to submit arbitrary command input. The vulnerability is not exploitable against unauthenticated attackers and requires the attacker to already possess valid credentials or session access to the application. No special configuration or non-default deployment is required beyond the presence of an authenticated user context. |
| Impact | Risk assessment reveals significant incongruence between raw CVSS and real-world exploitation signals. CVSS 2.1 with AV:N/AC:L/PR:L reflects low severity due to authentication requirement (PR:L) and limited impact scope (VC:L, VI:L, VA:L - confidentiality, integrity, availability all low). However, EPSS score of 0.14% (34th percentile) indicates very low probability of widespread automated exploitation despite public POC availability. This disconnect suggests the vulnerability is unlikely to be exploited at scale because: (1) it requires prior authentication, (2) impact is scoped to the authenticated user's permissions rather than system-wide compromise, and (3) the application itself may have limited deployment in sensitive environments. The public POC does not translate to active exploitation campaigns (no CISA KEV status indicated). This is appropriately classified as low priority for most organizations unless DesktopCommanderMCP is deployed in multi-tenant or privileged contexts where authenticated users are untrusted. |
| Exploit ScenarioDerived | An authenticated user with legitimate access to DesktopCommanderMCP submits a crafted command string containing shell metacharacters such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
OS command injection in DesktopCommanderMCP up to version 0.2.13 allows authenticated remote attackers to execute arbitrary system commands via manipulation of the CommandManager function in src/command-manager.ts. The vulnerability has a low CVSS score (2.1) due to authentication requirement and limited scope, but publicly available exploit code exists and the low EPSS score (0.14th percentile) suggests real-world exploitation risk is minimal despite public POC availability.
RemediationAI
Upgrade DesktopCommanderMCP to a version newer than 0.2.13 once available from the wonderwhy-er GitHub repository. If upgrade is not immediately available, implement input validation and sanitization in the CommandManager function to reject or escape shell metacharacters (such as pipes, redirects, semicolons, backticks, and dollar-sign substitutions) before passing user input to OS command execution routines. Additionally, restrict DesktopCommanderMCP access to trusted authenticated users only, and consider running the application with minimal OS privileges (separate service account with no shell access or sudo rights) to limit the blast radius if command injection is exploited. Monitor the official GitHub repository at https://github.com/wonderwhy-er/DesktopCommanderMCP for patch releases, particularly version 0.2.14 or later.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
DesktopCommanderMCP is a Model Context Protocol server implementation that manages command execution. The vulnerability exists in the CommandManager function within src/command-manager.ts, which handles OS command invocation. CWE-77 (Improper Neutralization of Special Elements used in a Command) indicates the function fails to properly sanitize or validate user-supplied input before passing it to OS command execution routines. This allows an authenticated user to inject shell metacharacters or command sequences that are interpreted by the underlying operating system shell rather than treated as literal arguments.
Know when Desktopcommandermcp gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Primary rating from Vendor (vuldb) · only source for this CVE.
CVSS VectorVendor: vuldb
DescriptionCVE.org
A vulnerability was found in wonderwhy-er DesktopCommanderMCP up to 0.2.13. The impacted element is the function CommandManager of the file src/command-manager.ts. Performing manipulation results in os command injection. It is possible to initiate the attack remotely. The exploit has been made public and could be used.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Affected Products (CPE)CVE.org
More in Desktopcommandermcp
View allOS command injection in DesktopCommanderMCP up to version 0.2.13 allows authenticated remote attackers to execute arbitr
Symlink following in DesktopCommanderMCP up to version 0.2.13 allows local authenticated attackers to read files outside
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB