UnratedFix available
Incorrect parsing of IPv6 host literals in net/url
Type: advisorySources: OSV
url.Parse insufficiently validated the host/authority component and accepted some invalid URLs.
- Products
- stdlib
- Affected versions
- Not specified
- Fixed versions
- 1.25.8, 1.26.1
- CVEs
- CVE-2026-25679
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 20:35 UTC · Revision 1
Source evidence
Incorrect parsing of IPv6 host literals in net/url
core-osv · Original sourcePublished 6 Mar 2026, 21:03 UTC
url.Parse insufficiently validated the host/authority component and accepted some invalid URLs.
osv:GO-2026-4601
stdlib
Fixed versions: 1.25.8, 1.26.1
Complete source record
{
"id": "e67f128fd9a0cb72b79ce6328a513f5a028572ad02ea0a699128ffc5aa1ee17c",
"url": "https://osv.dev/vulnerability/GO-2026-4601",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Incorrect parsing of IPv6 host literals in net/url",
"summary": "url.Parse insufficiently validated the host/authority component and accepted some invalid URLs.",
"evidence": "osv:GO-2026-4601",
"products": [
{
"name": {
"value": "stdlib",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.25.8",
"evidence": "/affected/0/ranges"
},
{
"value": "1.26.1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "GO-2026-4601",
"aliases": [
"BIT-golang-2026-25679",
"CVE-2026-25679",
"GO-2026-4601"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.25.8"
},
{
"introduced": "1.26.0-0"
},
{
"fixed": "1.26.1"
}
]
}
],
"package": {
"name": "stdlib",
"purl": "pkg:golang/stdlib",
"ecosystem": "Go"
},
"database_specific": {
"source": "https://vuln.go.dev/ID/GO-2026-4601.json"
},
"ecosystem_specific": {
"imports": [
{
"path": "net/url",
"symbols": [
"JoinPath",
"Parse",
"ParseRequestURI",
"URL.Parse",
"URL.UnmarshalBinary",
"parseHost"
]
}
]
}
}
],
"modified": "2026-10-16T10:42:06.560940732Z",
"provider": "osv",
"references": [
"https://go.dev/cl/752180",
"https://go.dev/issue/77578",
"https://groups.google.com/g/golang-announce/c/EdhZqrQ98hk"
],
"provider_metadata": {
"url": "https://pkg.go.dev/vuln/GO-2026-4601",
"review_status": "REVIEWED"
}
},
"related_cves": [
{
"value": "CVE-2026-25679",
"evidence": "/aliases"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 340599,
"published_at": "2026-03-06T21:03:42+00:00"
}