Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed mcp-use inspector endpoint
-
DeliverySend HTTP request with crafted X-Target-URL header targeting internal address
-
ExploitInspector proxy forwards request to internal host without validation
-
ExecutionInternal service (metadata API, database, admin UI) responds
-
ImpactAttacker reads response via proxy
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 mcp-use inspector proxy service must be network-accessible to the attacker - no authentication, no special configuration, and no user interaction are required beyond the ability to send HTTP requests to the inspector endpoint. The CVSS vector (PR:N/UI:N/AV:N) confirms unauthenticated exploitation with no prerequisite conditions on the target. Exploitation is limited by deployment context: the inspector is a development/debugging tool and may not be exposed in production environments. Redirect-following SSRF (the secondary attack path) requires that the attacker controls or can predict a redirect-capable intermediate endpoint, but the primary path (direct X-Target-URL or __mcp_target injection) has no such requirement. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N) scoring 8.7 correctly reflects low-friction, unauthenticated network exploitation with a high confidentiality impact. There is no KEV listing and no public proof-of-concept identified at time of analysis, so while the theoretical risk is high, observed exploitation has not been confirmed by CISA. EPSS data was not provided in the source intelligence. The primary real-world risk vector is cloud-hosted deployments where the mcp-use inspector is exposed and an attacker uses SSRF to reach instance metadata services (e.g., AWS IMDSv1 at 169.254.169.254), internal Kubernetes API servers, or other management interfaces not intended to be internet-reachable. The inspector is a developer and debugging tool; deployments in production or internet-exposed environments may be limited, which tempers the practical blast radius despite the high score. No conflict between CVSS signals and description is present - both consistently indicate remote, unauthenticated, read-only SSRF. Redirect-following without revalidation slightly elevates practical exploitability beyond a basic SSRF. |
| Exploit ScenarioDerived | An attacker with network access to an exposed mcp-use inspector sends a GET request with an X-Target-URL header set to http://169.254.169.254/latest/meta-data/iam/security-credentials/ (AWS IMDSv1). The inspector proxy forwards the request without host validation, receives the cloud credential response, and returns it in full to the attacker - yielding IAM role credentials usable for lateral movement into the AWS environment. No public proof-of-concept is identified at time of analysis, but the technique is well-documented for SSRF vulnerabilities of this class. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 27, 2026
Unauthenticated SSRF in mcp-use's inspector proxy middleware allows any network-reachable caller to coerce the server into issuing HTTP requests to loopback, link-local, and RFC-1918 private addresses - including cloud instance metadata endpoints - and read the responses. The root cause was mountMcpProxy accepting attacker-supplied destinations via the X-Target-URL header or __mcp_target parameter without host validation, and failing to revalidate the resolved address after a server-side redirect. The CVSS 4.0 score of 8.7 (AV:N/AC:L/PR:N/UI:N/VC:H) reflects full confidentiality impact exploitable by any unauthenticated network caller; no public exploit is identified at time of analysis, and the vendor has shipped a fix via the isSafeProxyTarget guard.
RemediationAI
Upgrade mcp-use to the version that incorporates the isSafeProxyTarget host-validation guard, as described in the vendor security advisory at https://github.com/mcp-use/mcp-use/security/advisories/GHSA-f2jg-rm2x-hc5p. The patch resolves both the initial host validation gap and the redirect-following bypass by re-checking resolved addresses after any redirect. The exact patched release version is not confirmed from available data - verify against the GitHub release history after consulting the advisory. As a compensating control prior to patching, restrict network access to the mcp-use inspector to trusted, internal-only networks using firewall rules or a reverse proxy with IP allowlisting; this reduces but does not eliminate SSRF risk if an internal attacker exists. Disabling the inspector component entirely in environments where it is not required eliminates the attack surface with no functional trade-off for non-development deployments.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerable component is mountMcpProxy, implemented in TypeScript at libraries/typescript/packages/inspector/src/server/proxy/mcp-proxy.ts within the mcp-use project (CPE: cpe:2.3:a:mcp-use:mcp-use:*:*:*:*:*:*:*:*). The inspector acts as a development-time HTTP proxy for Model Context Protocol (MCP) tooling. The proxy accepted a caller-supplied destination from either the X-Target-URL HTTP header or the __mcp_target query/body parameter and issued an outbound request to that target without consulting any allowlist or blocklist. This matches CWE-918 (Server-Side Request Forgery) in its canonical form: user-controlled URL fed directly to a server-side HTTP client. A secondary dimension is the redirect-following gap - when the proxied destination returned a 3xx redirect to an internal address, the proxy followed it without re-running host validation, a classic SSRF-via-open-redirect bypass. The fix introduces isSafeProxyTarget, which resolves the target hostname and checks the resulting address against private (RFC-1918), loopback (127.0.0.0/8, ::1), and link-local (169.254.0.0/16, fe80::/10) ranges before proxying, and bounds the number of redirects followed.
Know when Mcp Use 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:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Network-reachable proxy requires no credentials or interaction; SSRF yields high confidentiality impact only, no integrity or availability effect; scope unchanged as impacted system is the proxied internal host within same trust boundary.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
The proxy middleware in mcp-use's inspector forwards requests to a destination the caller names. mountMcpProxy in libraries/typescript/packages/inspector/src/server/proxy/mcp-proxy.ts read the target from the X-Target-URL header or the __mcp_target parameter and proxied to it without inspecting the host, so loopback, link-local and private addresses were all accepted, as were names that resolve to them, and the validation was not reapplied to a redirect the destination returned. A caller could therefore make the server issue requests to addresses reachable only from the host it runs on and read the responses. The current code calls isSafeProxyTarget, which checks the resolved address against private, loopback and link-local ranges before proxying and bounds the number of redirects followed.
Executive ViewAI
mcp-use's inspector proxy is vulnerable to unauthenticated credential theft via access to cloud metadata endpoints, enabling attackers to compromise cloud infrastructure and resources accessible through those credentials. Organizations running mcp-use with network exposure to untrusted networks face immediate risk of infrastructure compromise and lateral movement.
No vendor-released patch identified at time of analysis. Restrict inspector proxy access via firewall to explicit trusted IP allowlist only; disable X-Target-URL header and __mcp_target parameter processing if operationally feasible; implement application-level validation rejecting requests targeting private IP ranges and cloud metadata endpoints; isolate mcp-use deployments to network segments without direct access to metadata services; deploy continuous monitoring and alerting for exploitation attempts.
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-67146
GHSA-23qx-5wch-w72w
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB