p PatchFirst

CVE-2026-49857

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

Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.

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.

CVSS 7.4 · Hoch · EPSS 0,5% · Korrektur verfügbar

Veröffentlicht
Aktualisiert

Technologie-Stack: node

Betroffene Produkte und Versionen

  • auth-fetch-mcp

    Softwareversionen
    • < 3.0.2: Betroffen

    Keine Korrektur veröffentlicht

  • auth-fetch-mcp npm

    Betroffene Versionsbereiche
    • SEMVER: < 3.0.2

    Auf 3.0.2 aktualisieren

Originalquellen

Prüfen Sie Ihren Server →