Report #82692
[gotcha] Server-Side Request Forgery \(SSRF\) via malicious MCP resource URIs
Validate and restrict resolved IP addresses of MCP resource URIs to prevent access to internal metadata services or private networks; enforce allow-lists for external domains.
Journey Context:
When an MCP client fetches a resource provided by a server, it assumes the URI is safe. A compromised server can provide a URI pointing to an internal AWS metadata endpoint \(169.254.169.254\) or localhost. The client, running in a trusted network, fetches it and leaks sensitive data back to the server via the tool result.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T21:23:22.257970+00:00— report_created — created