Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. auth-fetch-mcp
  4. ›
  5. CVE-2026-49857

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

July 1, 2026

auth-fetch-mcp v3.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 and carries a CVSS v3.1 Base Score of 7.4 (High).

References

  • github.com/advisories/GHSA-pvrj-8cg3-j5f8
  • github.com/ymw0407/auth-fetch-mcp/security/advisories/GHSA-pvrj-8cg3-j5f8
  • nvd.nist.gov/vuln/detail/CVE-2026-49857

Code Behaviors & Features

Detect and mitigate CVE-2026-49857 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.0.2

Fixed versions

  • 3.0.2

Solution

Upgrade to version 3.0.2 or above.

Impact 7.4 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

npm/auth-fetch-mcp/CVE-2026-49857.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 10 Jul 2026 12:17:33 +0000.