Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privileged MCP client session
-
DeliveryInvoke read_file tool with crafted internal URL (e.g., 169.254.169.254)
-
ExploitServer fetches URL with no origin validation
-
ExecutionOptionally exploit redirect-follow to bypass hostname checks
-
PersistReceive internal service or cloud metadata response
-
ImpactExtract IAM credentials or sensitive internal data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must hold low-privileged access to invoke MCP tools on the target DesktopCommanderMCP server, as confirmed by PR:L in the CVSS 4.0 vector - fully unauthenticated remote exploitation is not possible. No user interaction is required (UI:N) and no special non-default configuration is needed beyond the attacker having a valid MCP client session, since |
| Impact | The CVSS 4.0 score of 2.1 is unusually low for a network-reachable SSRF, driven primarily by PR:L (low privileges required - MCP client access needed) and uniformly low impact scores (VC:L/VI:L/VA:L) with no subsequent-system scope (SC:N/SI:N/SA:N). However, this score materially underrepresents real-world risk in cloud-hosted deployments: SSRF reaching 169.254.169.254 (AWS IMDSv1) can yield IAM role credentials, enabling lateral movement and privilege escalation far beyond what the score implies. The patch itself explicitly calls out AWS, GCP, and Azure metadata endpoints as targets of concern. The E:P exploit metric confirms publicly available proof-of-concept code, lowering exploitation bar. No EPSS score was provided and no CISA KEV listing is present, suggesting no confirmed widespread mass exploitation at time of analysis. Defenders in cloud environments should treat this as higher priority than the raw CVSS score indicates; on-premises or air-gapped deployments face lower realistic risk. |
| Exploit ScenarioDerived | An attacker with low-privileged MCP client access invokes the |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 03, 2026
Server-Side Request Forgery in wonderwhy-er DesktopCommanderMCP 0.2.37 allows low-privileged remote MCP clients to coerce the server into fetching arbitrary internal URLs via the url argument of the readFileFromUrl function in src/tools/filesystem.ts. The unpatched server performs no origin validation and follows HTTP redirects automatically, enabling attackers to reach RFC 1918 private networks and cloud instance metadata services (AWS/GCP/Azure at 169.254.169.254) from the server's network context. Publicly available exploit code exists (CVSS 4.0 E:P), though no CISA KEV listing is present at time of analysis.
RemediationAI
Apply the upstream fix via commit 53699bebba9950047bca16ac4dc8f0568f596aaa, which introduces a validateFetchUrl() guard that rejects non-HTTP(S) schemes, private IPv4 ranges (10.x, 172.16-31.x, 192.168.x), loopback (127.x), link-local ranges including cloud metadata endpoints (169.254.x.x), IPv6 loopback (::1), and known internal hostnames (localhost, host.docker.internal, metadata.google.internal, metadata.goog, *.local). The patch also sets redirect: 'error' to block open-redirect-to-SSRF chains. Important caveat: the confirmed fix commit appears in the fork sorlen008/DesktopCommanderMCP, not the canonical wonderwhy-er/DesktopCommanderMCP repository - whether this fix has been merged upstream and released as a tagged version is not confirmed by available data; verify against https://github.com/wonderwhy-er/DesktopCommanderMCP before treating a specific release as patched. As a compensating control, enforce network egress filtering at the host or container level to block outbound connections to RFC 1918 addresses and 169.254.0.0/16; this addresses the highest-impact exploitation path (cloud metadata theft) with no application-level side effects. Note that the patch itself explicitly states that DNS rebinding attacks are not blocked by the code-level fix and require a network-layer proxy or egress firewall.
Affected VersionsENISA
Affected Packages
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 extends AI assistants such as Claude with filesystem and shell capabilities, implemented in TypeScript. The read_file component exposes readFileFromUrl in src/tools/filesystem.ts, which calls the Node.js fetch API with an attacker-controlled url string and, in the unpatched version, follows redirects by default (redirect: 'follow'). CWE-918 (Server-Side Request Forgery) describes the root cause: user-supplied URL input reaches a network fetch primitive without destination validation, allowing the server to act as an unauthenticated proxy to internal resources. The commit diff confirms the full attack surface - any scheme (file://, ftp://), any IP range including 127.x, 10.x, 172.16-31.x, 192.168.x, 169.254.x.x, and internal hostnames such as localhost or host.docker.internal - was accepted prior to the fix. The redirect-follow behavior additionally enabled open-redirect-to-SSRF chains: supply a public URL that redirects to an internal endpoint.
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
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 identified in wonderwhy-er DesktopCommanderMCP 0.2.37. This affects the function readFileFromUrl of the file src/tools/filesystem.ts of the component read_file. Such manipulation of the argument url leads to server-side request forgery. The attack may be performed from remote. The exploit is publicly available and might be used. The name of the patch is 53699bebba9950047bca16ac4dc8f0568f596aaa. It is best practice to apply a patch to resolve this issue.
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
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
EUVD-2026-34053
GHSA-5xx3-j724-wmx5
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB