Skip to content
MCP Reference Servers·Indexed by this site · Originally published· Event →SelectedAttention44

MCP Fetch fixes robots.txt path matching gap

AI summary

The MCP reference implementation mcp-server-fetch published security advisory GHSA-f9hh-cmx9-2f23, disclosing that its robots.txt check matches the request path exactly as spelled by the client, whereas common origin servers first collapse duplicate slashes, decode separator and dot escapes, and remove . and .. segments before responding; therefore a Disallow: /private rule can be bypassed with alternative spellings such as //private and /a%2f..%2fprivate, and autonomous model fetching can still retrieve pages the site forbids crawling. The advisory rates it Low; it does not involve authentication bypass, SSRF or RCE, and its root cause differs from the already-fixed redirect per-hop recheck gap GHSA-3jqg-r5pp-rmp2. The gap was confirmed in testing on version 2026.11.4; affected versions are 0.6.1 and above, before 2026.11.11, and it was fixed in 2026.11.11.

Why it was selected

The advisory gives the specific forms of the double-slash and encoded-dot bypasses of the robots.txt check and the fixed version; teams building agent fetching features can use it to check their path normalization logic.

Read originalgithub.com