CVE-2026-25679: Incorrect parsing of IPv6 host literals in net/url

Published Mar 6, 2026
·
Updated

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

Affected Software

4 affected components
go net/url
Microsoft azl3 golang 1.25.7-1
Golang Go<1.25.8
Golang Go=1.26.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Do not rely solely on url.Parse for untrusted input. Implement input validation and filtering before calling url.Parse: reject or sanitize malformed host/authority values (specifically malformed IPv6 host literals), and consider blocking such requests at the edge (WAF, reverse proxy, or firewall) to prevent malformed URLs from reaching application code.

  2. Operational

    Audit all code paths that call net/url's url.Parse. Add explicit validation of the host/authority component (including IPv6 host literal syntax) prior to or after parsing, add unit/integration tests that include malformed IPv6 literals and other invalid URLs, and apply code-level fixes or input rejection where url.Parse currently accepts invalid values.

Event History

Mar 6, 2026
CVE Published
via MITRE·09:28 PM
Data Sourced
via MITRE·09:28 PM
DescriptionWeakness
Data Sourced
via Red Hat·10:02 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·10:16 PM
DescriptionSeverityWeaknessAffected Software
Mar 12, 2026
Data Sourced
via Microsoft·08:01 AM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-25679?

CVE-2026-25679 is considered to have a high severity due to its potential to misinterpret IPv6 addresses, leading to security vulnerabilities.

2

How do I fix CVE-2026-25679?

To fix CVE-2026-25679, ensure you are using an updated version of the golang/net library that addresses the parsing validation issue.

3

What components are affected by CVE-2026-25679?

CVE-2026-25679 affects the golang/net library specifically related to the parsing of URLs with IPv6 literals.

4

What impact does CVE-2026-25679 have on applications?

CVE-2026-25679 could allow attackers to exploit the invalid handling of URLs, leading to potential unauthorized access or resource misdirection.

5

When was CVE-2026-25679 disclosed?

CVE-2026-25679 was disclosed in 2026, bringing attention to its implications for security in applications using malformed URL parsing.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203