mcp-cve-project

GHSA-3jqg-r5pp-rmp2 | robots.txt enforcement bypass via HTTP redirects in mcp-server-fetch | Low |

Advisory Information

Field Value
GHSA ID GHSA-3jqg-r5pp-rmp2
CVE ID No CVE assigned
Date (index) 2026-10-25
Affected product mcp-server-fetch
OWASP MCP Top 10 (2025) MCP07 — Insufficient Authentication & Authorization
Published / disclosed 2026-10-25
Ecosystem PyPI
Component mcp-server-fetch
CVSS score 3.1 LOW CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
CWE CWE-693
Affected versions mcp-server-fetch >= 0.6.1, <= 2026.10.19
Fixed versions 2026.10.24
Fix status Patched
Notes Updated on 2026-11-09 from the GitHub repository advisory.

Advisory Breakdown

Summary mcp-server-fetch checks robots.txt for the URL the model asks for, then lets httpx follow redirects without checking robots.txt again. A page on a host that allows autonomous fetching can redirect to a URL that robots.txt forbids, on another host or on the same one, and the server fetches it and returns the content to the model. This is the default configuration and applies to fetches made through the fetch tool, which is where the README says robots.txt is obeyed. The attacker needs the model to fetch a URL they control, or a site that redirects on its own. ### Details robots.txt is checked once, for the URL passed to the fetch tool, in the tool handler (server.py#L452-L465): python page_url = str(url) if not ignore_robots_txt: await check_may_autonomously_fetch_url( page_url, user_agent_autonomous, proxy_url, allow_private_ips ) content, prefix = await fetch_url( page_url, user_agent_autonomous, force_raw=raw, proxy_url=proxy_url, allow_private_ips=allow_private_ips, ) check_may_autonomously_fetch_url (L247-L293) downloads /robots.txt from that URL’s host a

Fix / Remediation

Upgrade to the patched version listed above. Where the advisory says a setting is still required after the upgrade, apply that setting as well. Keep HTTP MCP listeners authenticated and off untrusted networks until the upgrade is in place.

Detection / verification