URL Parse Allows NonIPv6 in Brackets Host Validation Flaw
CVE-2025-47912 Published on October 29, 2025
Insufficient validation of bracketed IPv6 hostnames in net/url
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.
Vulnerability Analysis
CVE-2025-47912 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a small impact on confidentiality, a small impact on integrity and availability.
Products Associated with CVE-2025-47912
stack.watch emails you whenever new vulnerabilities are published in GoLang Go or Oracle. Just hit a watch button to start following.