auth-fetch-mcp has SSRF Protection Bypass via IPv4-mapped IPv6 Loopback
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-918 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| ymw0407 | auth-fetch-mcp | before 3.0.2 | 3.0.2 | Patch available | CNA |
| — | auth-fetch-mcp (npm) | before 3.0.2 | 3.0.2 | Patch available | GHSA-pvrj-8cg3-j5f8 |
- auth-fetch-mcp Vendorymw0407 Affected before 3.0.2 Fixed in 3.0.2 Patch available CNA
- auth-fetch-mcp (npm) Vendor— Affected before 3.0.2 Fixed in 3.0.2 Patch available GHSA-pvrj-8cg3-j5f8
Remediation
- Fix · CNA auth-fetch-mcp (ymw0407) Fixed in 3.0.2
- Fix · GHSA-pvrj-8cg3-j5f8 auth-fetch-mcp (npm) Fixed in 3.0.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-49857
- 2026-10-03 Alias added: GHSA-pvrj-8cg3-j5f8
References
Sources
- CVE-2026-49857 · CVE Program
- CVE-2026-49857 · NVD
- FIRST EPSS
- GHSA-pvrj-8cg3-j5f8 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences