SSRF in Kazuph Mcp-Fetch
CVE-2026-80347
mcp-fetch checks a fetch target against its SSRF guard without removing the brackets that surround an IPv6 literal. isSafeUrl reads the hostname from the parsed URL, which for a literal such as http://[::1]/ yields the bracketed string, and then tests it with net.isIP. That call returns zero for a bracketed value, so the branch holding the private-address checks is skipped entirely. The guard falls back to resolving the hostname, the bracketed string is not a resolvable name, no addresses are returned, and the target is reported safe. The HTTP client then strips the brackets and connects. Because the address may be given in IPv4-mapped form, the same path reaches any IPv4 target the loopback and private checks were meant to exclude, including link-local metadata endpoints. isPrivateIPv6 also has no case for the ::ffff: prefix, so the mapped form would still pass even if the brackets were removed. The fetch target is supplied as a tool argument, so an attacker who can influence what the model requests can read internal responses back into the model context.
Vulnerability class: SSRF (Server-Side Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.004 (26.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 27th percentile — 26.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.004 · change: +0.001
Affected products
Weakness classification (CWE)
References
- github.com/kazuph/mcp-fetch (product)
- github.com/kazuph/mcp-fetch/issues/16 (issue-tracking)
- www.npmjs.com/package/@kazuph/mcp-fetch (product)
- www.vulncheck.com/advisories/mcp-fetch-through-1.6.3-server-side-request-forger… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-80347?
- CVE-2026-80347 is a high-severity vulnerability in Kazuph Mcp-Fetch, classified under Server-Side Request Forgery (SSRF). CVSS score: 7.5/10. Published 2026-08-26.
- How severe is CVE-2026-80347?
- High severity. CVSS v3 base score is 7.5 out of 10.