CVE-2026-141591: mcp-fetch-server 1.1.0 before 1.2.0 SSRF Protection Bypass via IPv4-Mapped IPv6
mcp-fetch-server 1.1.0 before 1.2.0 contains a server-side request forgery vulnerability in validateUrl and validateResolvedIp that fails to block IPv4-mapped IPv6 addresses. Attackers controlling URLs passed to fetch tools can use hex-form IPv6 literals, trailing-dot localhost, or .localhost names to reach loopback services, internal hosts, and cloud metadata endpoints.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.2.0
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker must be able to control a URL supplied to the server's fetch tools. No authentication or user interaction is required according to the provided vector.
What resources could an attacker reach?
The bypass can be used to reach loopback services, internal hosts, and cloud metadata endpoints. The described bypass inputs include IPv4-mapped IPv6 addresses, hexadecimal IPv6 literals, trailing-dot localhost names, and names under *.localhost.
Which versions should be remediated?
mcp-fetch-server 1.1.0 versions before 1.2.0 are affected. Update to version 1.2.0 or later.