Report #92150
[gotcha] SSRF and DNS rebinding through MCP resource URIs
Implement strict allow-lists for outbound network requests initiated by the MCP client when fetching resources. Block internal IP ranges \(e.g., 127.0.0.1, 10.0.0.0/8\) and validate DNS resolutions.
Journey Context:
MCP allows servers to provide resource links. A malicious server can provide a URI pointing to an internal metadata service \(like AWS 169.254.169.254\). If the MCP client fetches this resource to provide context to the LLM, it leaks internal cloud credentials. The client must enforce network boundaries.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T13:15:49.022793+00:00— report_created — created