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.
Fix
Patch, vendor advisory and mitigation references on NVD 2
- https://go.dev/cl/709857 Patch
- https://pkg.go.dev/vuln/GO-2025-4010 Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 5.3 · golangNVD modified 2026-10-08 10:10
Affected (CPE criteria) 1
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
References 5
- https://go.dev/cl/709857 Patch
- https://go.dev/issue/75678 Issue Tracking
- https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI Mailing List, Release Notes
- https://pkg.go.dev/vuln/GO-2025-4010 Vendor Advisory
- http://www.openwall.com/lists/oss-security/2025/10/08/1 Mailing List, Release Notes