GO-2026-4601

Incorrect parsing of IPv6 host literals in net/url

At a glance

Published
Updated
CVE
CVE-2026-25679
Aliases
BIT-golang-2026-25679

Description

url.Parse insufficiently validated the host/authority component and accepted some invalid URLs.

Affected packages

PackageVersions
Go · stdlibintroduced 0, fixed 1.25.8, introduced 1.26.0-0, fixed 1.26.1

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database