Vulnerability
CVE-2025-47912
The Parse function permits values other than IPv6 addresses to be included in square brackets within the host component of a URL. RFC 3986 permits IPv6 addresses to be included within the host component, enclosed within square brackets. For example: "http://[::1]/". IPv4 addresses and hostnames must not appear within square brackets. Parse did not enforce this requirement.
4036 advisories report this vulnerability, across 12 ecosystems.
Advisories in Red Hat
-
RHSA-2026:7291
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
-
RHSA-2026:7385
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
-
RHVEX-CVE-2025-47912
net/url: Insufficient validation of bracketed IPv6 hostnames in net/url