Report #6530
[gotcha] MCP server connects to a localhost service or internal network endpoint via a tool call, leading to SSRF
Block requests to private IP ranges \(RFC 1918\) and localhost from MCP server outbound connections.
Journey Context:
A third-party MCP tool might require fetching a URL. A malicious prompt or tool logic could direct it to an internal metadata service \(e.g., 169.254.169.254\) or local database. Because the MCP server runs locally, it bypasses cloud firewalls and can access internal services directly.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T00:18:20.977226+00:00— report_created — created