Summary
CVE-2026-81091 is a Server-Side Request Forgery (SSRF) vulnerability in the proxy middleware of the mcp-use Inspector. The mountMcpProxy function forwards requests to a caller-supplied destination without validating whether that destination is a private, loopback, or link-local address, and does not re-validate redirect targets. This allows an unauthenticated network attacker to make the Inspector server issue requests to internal-only addresses and read back the responses, and the issue is rated HIGH severity.
Technical details
- Root cause:
mountMcpProxyreads the proxy target from theX-Target-URLheader or the__mcp_targetparameter and forwards the request without validating that the destination is not a private, loopback, or link-local address. - Trigger conditions: An attacker sends a request to the exposed Inspector proxy endpoint specifying an internal or restricted address as the target; the server also fails to re-apply validation when the initial response is a redirect, allowing the redirect to point to a disallowed address.
- Attack vector: Network-based, no authentication or user interaction required (AV:N, PR:N, UI:N).
- Impact: Confidentiality impact — the attacker can make the host issue requests to internal-only network resources and read the returned responses, potentially exposing internal services, cloud metadata endpoints, or other network-restricted resources.
Affected software
- mcp-use (Inspector proxy component): versions 0 through 2.3.2 (semver)
Severity
- CVSS v3.1: 8.6 (HIGH) —
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N - CVSS v4.0: 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
Mitigation and recommended actions
- Immediate: Upgrade mcp-use to a release beyond 2.3.2 that includes the fix (see the GitHub Security Advisory GHSA-f2jg-rm2x-hc5p and the mcp-use repository for the specific patched release).
- If no patch is available yet: Do not expose the Inspector proxy endpoint to untrusted networks; restrict access to the Inspector interface to trusted/internal users only; block outbound requests from the Inspector host to private, loopback, and link-local address ranges (e.g., via network egress controls); disable or remove the proxy feature if it is not required.

