CVE-2026-25679

Incorrect parsing of IPv6 host literals in net/url

State
Published
Severity
7.5 High
Published
Mar 6, 2026
Updated
Sep 18, 2026
Reserved
Feb 5, 2026

Read the record on cve.org

Description

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

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HCISA-ADP
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hredhat-SADP

Weaknesses

  • CWE-1286 Improper Validation of Syntactic Correctness of Input

Affected Products

ProductVersions
net/urlGo standard library
  • before 1.25.8Affected
  • 1.26.0-0 to before 1.26.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.