ADVISORIES

Go Vulnerability Database

GO-2026-4601

Incorrect parsing of IPv6 host literals in net/url

Details

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

Affected packages

EcosystemPackageAffected versions
Gostdlib
All versions before 1.25.8 (fixed in 1.25.8)
From 1.26.0-0 before 1.26.1 (fixed in 1.26.1)

References