Symptom
mcp-server-fetch fetches a URL the caller names, follows redirects, and does not refuse a private or metadata address. The handler is client.get with follow_redirects=True.
Evidence what you'll see
- The report quotes that call from
src/fetch/src/mcp_server_fetch/server.pyat commitf46d9578190b, withtimeout=30and aUser-Agentheader. - The v1.0.0 notes, under mcp-server-fetch
2026.10.10, sayfix(fetch): refuse private, loopback and metadata addresses by default (#4838).
Why it happens
Redirects were followed and the destination was not checked against private, loopback, or metadata ranges, so a public URL could redirect the fetch onto an address the caller did not name.
Affected versions
The report is a review of commit f46d9578190b. It does not name an operating system. The package version that carries the refusal is mcp-server-fetch 2026.10.10.
Fix steps
0 of 2 done
Your check marks stay in this browser only.
How to check it worked
- A fetch whose URL is a private, loopback, or metadata address is refused. A redirect onto one of those addresses is refused as well.
If it still fails
- The notes describe the default refusal. The linked issue does not describe a flag that turns the refusal off.
Sources and credit
Summarized in our own words from these public reports. Credit goes to their authors.
Provided as is, without warranty. Try changes in a non-production environment and back up first. Security-related steps: verify against the official docs. Terms · Request removal or attribution change
Hit an error we don't cover? Submit it