SSRF Vulnerability in auth-fetch-mcp Server by YMW0407
CVE-2026-49857
7.4HIGH
What is CVE-2026-49857?
The auth-fetch-mcp server has a vulnerability in version 3.0.1 related to Server-Side Request Forgery (SSRF). The implementation attempts to block requests to private and loopback addresses using a function called assertSafeUrl(). However, a flaw in the isPrivateV6() function fails to recognize IPv4-mapped IPv6 loopback addresses in their hex-normalized form. This oversight allows an attacker to exploit the vulnerability by providing a specially crafted URL, effectively bypassing the security measures in place. Consequently, the server may inadvertently connect to loopback services that should normally be inaccessible, posing a significant risk under default configurations. The issue is now resolved in version 3.0.1.
Affected Version(s)
auth-fetch-mcp < 3.0.2
