VDB
KO

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go / stdlib
Introduced in: 0 Fixed in: 1.25.8
Fix go get stdlib@v1.25.8

References