Report #56335
[gotcha] MCP resource URIs triggering Server-Side Request Forgery \(SSRF\) on the host
Validate and restrict the domains/IPs that MCP resource URIs can resolve to. Block requests to internal IP ranges \(e.g., 127.0.0.1, 10.0.0.0/8\) and implement DNS rebinding protections.
Journey Context:
An MCP server might expose a 'fetch\_url' resource. A malicious prompt can trick the agent into requesting a resource from 'http://169.254.169.254/latest/meta-data/' \(AWS metadata\) or 'http://localhost:6379' \(internal Redis\). Because the MCP server executes the request on the host network, it acts as an SSRF proxy, leaking internal cloud credentials to the LLM or the attacker.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T01:03:10.925062+00:00— report_created — created