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.
Published: 2026-08-13
Score: 7.4 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability allows an attacker to bypass SSRF protection in the MCP server by exploiting a mis-handled IPv4‐mapped IPv6 loopback address that eludes the URL parser. This bypass enables a local service call that was intended to be blocked, giving the attacker the ability to read local data or execute other internal actions. This flaw is classified as a classic SSRF weakness (CWE‑918) and can result in confidentiality and integrity risks of internal resources.

Affected Systems

Auth‑fetch‑mcp, a server used by AI assistants to fetch content from authenticated web pages, is affected. Versions older than 3.0.1 are vulnerable as they do not contain the patch that fixes the IPv4‑mapped IPv6 loopback detection. The fix is included in release 3.0.1 and later.

Risk and Exploitability

The CVSS score of 7.4 indicates a high severity vulnerability. While EPSS data is unavailable, the lack of an exploit listed in KEV suggests no widespread exploitation yet, but the attack path is straightforward and requires only the ability to supply a URL to the MCP server. The default configuration is permissive, so no special environment variable is needed, meaning the vulnerability can be leveraged by any user who can control the content fetched by the assistant. The attacker can use the URL sanitizer to point to localhost or other internal services, retrieve data, and potentially disrupt the service.

Generated by OpenCVE AI on August 13, 2026 at 17:09 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade auth-fetch-mcp to version 3.0.1 or later to apply the SSRF protection patch.
  • If upgrading cannot be performed immediately, enforce outbound firewall rules that block connections from the MCP server to loopback and private IP ranges.
  • Limit URL inputs to the MCP server by whitelisting trusted domains or requiring authentication, thereby reducing the attack surface for SSRF.

Generated by OpenCVE AI on August 13, 2026 at 17:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-pvrj-8cg3-j5f8 auth-fetch-mcp has SSRF Protection Bypass via IPv4-mapped IPv6 Loopback
History

Thu, 13 Aug 2026 15:15:00 +0000

Type Values Removed Values Added
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.
Title auth-fetch-mcp has SSRF Protection Bypass via IPv4-mapped IPv6 Loopback
Weaknesses CWE-918
References
Metrics cvssV3_1

{'score': 7.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-13T17:52:55.357Z

Reserved: 2026-06-01T22:03:19.640Z

Link: CVE-2026-49857

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-13T15:19:41.743

Modified: 2026-08-13T18:17:30.043

Link: CVE-2026-49857

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T17:15:05Z

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)