Skip to main content

DesktopCommanderMCP EUVDEUVD-2026-34056

| CVE-2026-10691 LOW
Uncontrolled Resource Consumption (CWE-400)
2026-06-03 cna@vuldb.com GHSA-r87g-78mx-3wg4
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 MCP server with low-privilege credentials
  2. Delivery
    Call start_search tool with nested-quantifier regex pattern
  3. Exploit
    JavaScript RegExp engine enters catastrophic backtracking on matched content
  4. Execution
    Server CPU exhausted processing malicious pattern
  5. Impact
    Search availability degraded for all concurrent users

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated session with at least low-privilege access to the MCP server (confirmed by PR:L in the CVSS 4.0 vector) - the attacker must be a valid MCP client capable of invoking the start_search tool. No special non-default configuration is required; the search feature is a standard, enabled-by-default capability of DesktopCommanderMCP. The attacker must be able to supply an arbitrary string as the regex pattern argument to start_search. Exploitation is bounded by: the mandatory authenticated access requirement (PR:L), the low availability impact ceiling (VA:L - partial CPU exhaustion rather than full service termination), the absence of any confidentiality or integrity impact vector (VC:N/VI:N), and the fact that the denial of service is scoped to the search component rather than the entire MCP server process. Remote unauthenticated exploitation is not possible based on the CVSS PR:L designation.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P) produces a score of 2.1, accurately reflecting the narrow impact: network-reachable with low complexity and no user interaction, but gated behind authenticated low-privilege access (PR:L), and causing only low availability impact (VA:L) with zero confidentiality or integrity exposure. The E:P modifier confirms a publicly released proof-of-concept, which elevates urgency slightly above purely theoretical findings. The vulnerability is not listed in CISA KEV, indicating no confirmed broad exploitation. EPSS data was not provided in available intelligence. Real-world risk is genuinely low: an attacker must already have authenticated MCP client access, the worst-case outcome is partial CPU exhaustion rather than a full service outage, and there is no data exfiltration or code execution path. This is a legitimate finding but a low-priority patch target compared to higher-severity issues - organizations with multiple authenticated users sharing a DesktopCommanderMCP instance face the most meaningful residual risk.

Exploit ScenarioDerived

An authenticated low-privilege user with MCP client access to an unpatched DesktopCommanderMCP instance calls the start_search tool, supplying a crafted regex pattern such as (a+)+ as the search query. The server compiles the pattern directly into a JavaScript RegExp and evaluates it against file content containing a long string of 'a' characters followed by a non-matching character, triggering catastrophic backtracking in the Node.js regex engine. Server-side CPU spikes to near 100% for the duration, degrading or blocking search responses for all concurrent users. A public proof-of-concept demonstrating this behavior was disclosed alongside the VulDB report.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 03, 2026

ReDoS (Regular Expression Denial of Service) in wonderwhy-er DesktopCommanderMCP versions up to 0.2.38 allows authenticated remote attackers to exhaust server CPU by supplying crafted regex patterns with nested quantifiers to the start_search function in src/search-manager.ts. The unpatched code compiled user-controlled regex patterns directly into JavaScript RegExp objects without validating for catastrophic backtracking constructs, enabling partial availability degradation. A public proof-of-concept exploit exists (CVSS E:P), though the vulnerability is not listed in CISA KEV, and the CVSS 4.0 base score of 2.1 reflects its limited, low-availability impact.

RemediationAI

Upgrade to DesktopCommanderMCP v0.2.39, which resolves the vulnerability by introducing isSafeRegex() and buildSafeRegex() helper functions that validate patterns for nested quantifiers and overlapping alternations before RegExp compilation, falling back to escaped literal matching when dangerous constructs are detected. The patched release is available at https://github.com/wonderwhy-er/DesktopCommanderMCP/releases/tag/v0.2.39 and corresponds to commit 4ce845f8749b6a159b57b38dcc3357f7222a8078. If immediate upgrade is not feasible, restrict access to the MCP server's search tool to a minimal set of highly trusted authenticated users via network-level controls or MCP server configuration - since PR:L authentication is already required, tightening this to admin-only sessions or applying firewall rules that limit which clients can issue search calls substantially reduces residual exposure with minimal operational impact. Note that disabling the search feature entirely is also an option if it is not operationally critical, as this eliminates the attack surface without side effects to other MCP tool capabilities.

Affected VersionsENISA

DesktopCommanderMCP 0.2.17
DesktopCommanderMCP 0.2.21
DesktopCommanderMCP 0.2.33
DesktopCommanderMCP 0.2.16
DesktopCommanderMCP 0.2.25
DesktopCommanderMCP 0.2.32
DesktopCommanderMCP 0.2.9
DesktopCommanderMCP 0.2.3
DesktopCommanderMCP 0.2.2
DesktopCommanderMCP 0.2.5
DesktopCommanderMCP 0.2.19
DesktopCommanderMCP 0.2.6
DesktopCommanderMCP 0.2.0
DesktopCommanderMCP 0.2.24
DesktopCommanderMCP 0.2.14
DesktopCommanderMCP 0.2.36
DesktopCommanderMCP 0.2.13
DesktopCommanderMCP 0.2.28
DesktopCommanderMCP 0.2.30
DesktopCommanderMCP 0.2.1
DesktopCommanderMCP 0.2.8
DesktopCommanderMCP 0.2.31
DesktopCommanderMCP 0.2.23
DesktopCommanderMCP 0.2.34
DesktopCommanderMCP 0.2.18
DesktopCommanderMCP 0.2.7
DesktopCommanderMCP 0.2.22
DesktopCommanderMCP 0.2.29
DesktopCommanderMCP 0.2.20
DesktopCommanderMCP 0.2.15
DesktopCommanderMCP 0.2.10
DesktopCommanderMCP 0.2.11
DesktopCommanderMCP 0.2.37
DesktopCommanderMCP 0.2.26
DesktopCommanderMCP 0.2.12
DesktopCommanderMCP 0.2.38
DesktopCommanderMCP 0.2.35
DesktopCommanderMCP 0.2.4
DesktopCommanderMCP 0.2.27

Affected Packages

npm @wonderwhy-er/desktop-commander fix: 0.2.39
euvd desktopcommandermcp no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in npm, euvd

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 (MCP) server that grants Claude AI access to terminal commands and filesystem operations on a host desktop. The vulnerable component is src/search-manager.ts, which handles file-content and filename searching via the start_search tool. Prior to v0.2.39, the function accepted a user-supplied pattern string and compiled it directly into a JavaScript RegExp object with no pre-validation. JavaScript's regex engine employs backtracking, and certain pattern constructs - nested quantifiers such as (a+)+ or (a*)*, and overlapping alternations like (a|a)+ - exhibit exponential time complexity when matched against specially crafted input strings, a class of flaw described by CWE-400 (Uncontrolled Resource Consumption). The fix, visible in commit 4ce845f8749b6a159b57b38dcc3357f7222a8078, introduces isSafeRegex() to statically detect and reject dangerous nested-quantifier patterns, and buildSafeRegex() to fall back to escaped literal-string matching when such patterns are supplied, eliminating the backtracking exposure.

Know when the next one hits your stack

  • 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:N/VI:N/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
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

A security flaw has been discovered in wonderwhy-er DesktopCommanderMCP up to 0.2.38. This impacts an unknown function of the file src/search-manager.ts of the component start_search. Performing a manipulation of the argument SearchResult[] results in inefficient regular expression complexity. It is possible to initiate the attack remotely. The exploit has been released to the public and may be used for attacks. Upgrading to version 0.2.39 will fix this issue. The patch is named 4ce845f8749b6a159b57b38dcc3357f7222a8078. It is suggested to upgrade the affected component.

Threat Intelligence Overview

EPSS Score
0.1%
Top 81% exploitable
Social Media
1
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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 No
EPSS 0.1%
Patch available Yes
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
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

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

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Related Vulnerabilities in DesktopCommanderMCP SSRF and Resource Exhaustion

View all 2

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