Skip to main content

mcp-use Inspector CVE-2026-81091

| EUVDEUVD-2026-67146 HIGH
Server-Side Request Forgery (SSRF) (CWE-918)
2026-08-27 VulnCheck GHSA-23qx-5wch-w72w
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Identify exposed mcp-use inspector endpoint
  2. Delivery
    Send HTTP request with crafted X-Target-URL header targeting internal address
  3. Exploit
    Inspector proxy forwards request to internal host without validation
  4. Execution
    Internal service (metadata API, database, admin UI) responds
  5. Impact
    Attacker 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

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

mcp-use 0 ≤2.3.2

Affected Packages

euvd mcp_use no fix

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

Vendor (VulnCheck) PRIMARY 8.7 HIGH
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
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.3%
Top 73% exploitable
Prevalence
Low
niche MCP developer tooling, limited production deployment footprint
Data Quality
6 sources
Confidence: High

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 HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Partial

Priority Score

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

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

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