CVE-2026-49857CWE-918ssrf

CVE-2026-49857

High · published August 13, 2026

CVSS v3.1
7.4
EPSS
0%
Percentile
41.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.4 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00488 · 41.1th percentile
Weakness
CWE-918 · Server-Side Request Forgery (SSRF)
Published
2026-08-13T19:19Z
References (3)
EPSS history
Timeline
  • 13 AUG 14:50Z
    auth-fetch-mcp has SSRF Protection Bypass via IPv4-mapped IPv6 Loopback
    cvelistv5