CVE-2026-81091
mcp-use Inspector Proxy Server-Side Request Forgery via Caller-Supplied Target URL
The proxy middleware in mcp-use's inspector forwards requests to a destination the caller names. mountMcpProxy in libraries/typescript/packages/mcp-use/src/server/middleware/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. In mcp-use 2.x the proxy moved to the @mcp-use/inspector package, whose mcp-proxy.ts calls isSafeProxyTarget, which checks the resolved address against private, loopback and link-local ranges before proxying and bounds the number of redirects followed.
| CWE | CWE-918 |
| Vendor | mcp-use |
| Product | mcp-use |
| Published | Aug 27, 2026 |
| Last Updated | Nov 20, 2026 |
Get instant alerts for mcp-use mcp-use
Be the first to know when new high vulnerabilities affecting mcp-use mcp-use are published โ delivered to Slack, Telegram or Discord.
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N