fetch server: SSRF guard treats the well-known NAT64 prefix 64:ff9b::/96 as public, so a metadata address is reachable on NAT64/DNS64 egress
GHSA-66qx-2266-pmj6 · published 2026-10-25
- Severity
- Low
- CVSS score
- 3.1
- Chance of exploitation (EPSS)
- No CVE
- Fixed in
- 2026.10.24
CWE-918 (SSRF). On a host whose egress uses NAT64/DNS64 (common on IPv6-only networks, including some cloud environments), an attacker who can influence a fetched URL can reach internal-only services and the cloud metadata endpoint 169.254.169.254 by using an address in the well-known NAT64 prefix 64:ff9b::/96 that embeds the target IPv4, because _is_public_address classifies it as public. This defeats the SSRF guard the server documents as refusing metadata/private addresses, and the response is returned to the caller. On hosts without NAT64 egress the address is not routable, so exploitability depends on the deployment, like the DNS-rebinding caveat already noted in the README.
Upgrade mcp-server-fetch to 2026.10.24 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| mcp-server-fetch | PyPI | >= 2026.10.10, <= 2026.10.19 | 2026.10.24 |
- CriticalMLflow: Unauthenticated full-read SSRF in webhook delivery: _validate_webhook_url bypassed via unvalidated HTTP redirects (and DNS rebindingmlflowExploited
- Critical@zereight/mcp-gitlab Vulnerable to Server-Side Request Forgery@zereight/mcp-gitlab
- CriticalCodeWhale: SSRF bypass - TOCTOU on DNS failure for DNS pinningcodewhale
- Criticalunstructured: Server-Side Request Forgery in the URL-based partitioningunstructured
- CriticalSSRF + LLM API key exfiltration via user-controlled basepath / baseUrl in 8 chat-model nodesflowise, flowise-components
- CriticalLocalAI POST /models/apply permits unauthenticated server-side request forgery through gallery URLsgithub.com/mudler/LocalAI
- Mediumfetch: small page OOMs the server during HTML-to-Markdown conversionmcp-server-fetch
- Mediumfetch: robots.txt User-agent groups cause quadratic memory blowupmcp-server-fetch
- Mediumfetch: private-address guard bypass via IDNA hostnames (check and connect resolve different names)mcp-server-fetch
- Lowfetch: robots.txt is ignored when it starts with a UTF-8 BOMmcp-server-fetch
- Lowfetch: punycode charset in Content-Type hangs the server for 16 minmcp-server-fetch
- LowIncomplete fix for GHSA-3rxj-6jhw-qfv7: robots.txt path normalisation in mcp-server-fetch still misses backslash and path-parameter spellingmcp-server-fetch
The impact, patch and workaround text comes from the advisory, shortened (published by the MCP reference servers project). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.