Description
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.
Affected products
golang: go
References5
- pkg.go.dev/vuln/GO-2025-4010 Vendor Advisory
- go.dev/cl/709857 Patch
- go.dev/issue/75678 Issue Tracking
- groups.google.com/g/golang-announce/c/4Emdl2iQ_bI Mailing ListRelease Notes
- www.openwall.com/lists/oss-security/2025/10/08/1 Mailing ListRelease Notes
Metrics
- CVSS 3.1
-
5.3
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - EPSS — exploit probability
- 0% percentile: 41 · as of 10 November 2026
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.