{"id":"CVE-2026-49857","published":"2026-08-13T14:50:25Z","modified":"2026-08-13T17:52:55Z","title":"auth-fetch-mcp has SSRF Protection Bypass via IPv4-mapped IPv6 Loopback","vendor":"ymw0407","product":"auth-fetch-mcp","tier":"tail","description":{"text":"auth-fetch-mcp is an MCP server that lets AI assistants fetch content from authenticated web pages. Version 3.0.1 implements SSRF protection in `assertSafeUrl()` (`src/security.ts`) to block requests to private and loopback addresses. However, the `isPrivateV6()` function fails to detect IPv4-mapped IPv6 loopback addresses in their hex-normalized form. When an attacker supplies a URL such as `http://[::ffff:127.0.0.1]:PORT/`, the Node.js WHATWG URL parser silently normalizes the host to `[::ffff:7f00:1]`. Because `net.isIPv4('7f00:1')` returns `false`, the private-IP check is bypassed and the URL is passed to the browser or HTTP client, allowing the MCP tool to reach loopback services that are supposed to be blocked. The issue is exploitable under default configuration without any special environment variable. Version 3.0.1 patches the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00488,"percentile":0.34778,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/ymw0407/auth-fetch-mcp/security/advisories/GHSA-pvrj-8cg3-j5f8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ymw0407/auth-fetch-mcp/commit/c5c523cd55b24ae1680c5bacef95d59a81ae3450","tags":["x_refsource_MISC"]},{"url":"https://github.com/ymw0407/auth-fetch-mcp/releases/tag/v3.0.1","tags":["x_refsource_MISC"]}],"priority":{"score":12.1,"factors":[{"name":"EPSS percentile","points":6.96},{"name":"CVSS severity","points":5.18}]},"vendorSlug":"ymw0407","affectedVersions":[{"vendor":"ymw0407","product":"auth-fetch-mcp","versions":["< 3.0.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-13T17:50:08.906500Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"auth-fetch-mcp","vulnerableRanges":["<3.0.2"],"patched":["3.0.2"],"from":["GHSA-pvrj-8cg3-j5f8"],"provenance":"source"}],"summary":{"text":"The auth-fetch-mcp MCP server (vendor ymw0407) has a flaw in its SSRF protection: the isPrivateV6() check in assertSafeUrl() (src/security.ts) fails to recognise IPv4-mapped IPv6 loopback addresses once they are hex-normalised, so requests to loopback services are not blocked. An attacker who can get the tool to fetch a crafted URL (for example one using a [::ffff:127.0.0.1] host), with user interaction required and no authentication, can make the tool reach loopback-only services, under the default configuration without any special environment variable.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:39:49Z"},"euvd":{"id":"EUVD-2026-58054","exploited":false,"provenance":"source"}}