Description
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.
References
- www.cve.org/CVERecord ↗
- nvd.nist.gov/vuln/detail/CVE-2026-141591 ↗
- github.com/zcaceres/fetch-mcp/blob/687d46a2ffb98dd193c5dabb41d897b35a6d6632/src/Fetcher.ts ↗
- github.com/zcaceres/fetch-mcp/commit/47a5ddc5c15a54b2c0993036fe4639b3e948c3d4 ↗
- github.com/zcaceres/fetch-mcp/releases/tag/v1.2.0 ↗
- github.com/zcaceres/fetch-mcp/security/advisories/GHSA-rmj9-628v-jcc7 ↗
- www.vulncheck.com/advisories/mcp-fetch-server-1.1.0-before-1.2.0-ssrf-protection-bypass-via-ipv4-mapped-ipv6 ↗
Related CVEs
← CVE Index: search every CVE from the last 30 days
This product uses the NVD API but is not endorsed or certified by the NVD. CVSS scores do not establish exploitation.