# CVE-2026-49857: auth-fetch-mcp has SSRF Protection Bypass via IPv4-mapped IPv6 Loopback

- Severity: High 7.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Published: 2026-07-01T18:16:22.000Z
- Modified: 2026-10-24T16:10:00.153Z
- Also known as: GHSA-pvrj-8cg3-j5f8
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- ymw0407 auth-fetch-mcp: < 3.0.2
- auth-fetch-mcp (npm): before 3.0.2

## Every score

- GitHub_M: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N`

## References

- <https://github.com/ymw0407/auth-fetch-mcp/security/advisories/GHSA-pvrj-8cg3-j5f8> (web)
- <https://github.com/ymw0407/auth-fetch-mcp/commit/c5c523cd55b24ae1680c5bacef95d59a81ae3450>
- <https://github.com/ymw0407/auth-fetch-mcp/releases/tag/v3.0.1>
- <https://github.com/ymw0407/auth-fetch-mcp> (package)

## Sources

- CVE List: [CVE-2026-49857](https://www.cve.org/CVERecord?id=CVE-2026-49857), CVE Terms of Use, modified 2026-08-13
- GitHub Advisory Database: [GHSA-pvrj-8cg3-j5f8](https://github.com/advisories/GHSA-pvrj-8cg3-j5f8), CC-BY-4.0, modified 2026-07-01
- NVD: [CVE-2026-49857](https://nvd.nist.gov/vuln/detail/CVE-2026-49857), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-49857 · Whole record: https://cve.day/CVE-2026-49857.json · Rebuilt by cve.day 2026-11-25T22:59:32.754Z
