Skip to main content
← All vulnerabilities
CVE-2025-47912GO-2025-4010BIT-GOLANG-2025-47912

Insufficient validation of bracketed IPv6 hostnames in net/url

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.24.8, 1.25.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

The Parse function permits values other than IPv6 addresses to be included in square brackets within the host component of a URL. RFC 3986 permits IPv6 addresses to be included within the host component, enclosed within square brackets. For example: "http://[::1]/". IPv4 addresses and hostnames must not appear within square brackets. Parse did not enforce this requirement.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • net/url

    fixed in 1.24.8; From 1.25.0 · fixed in 1.25.2

  • stdlibGo

    fixed in 1.24.8; From 1.25.0 · fixed in 1.25.2

References 4

go.dev

groups.google.com

pkg.go.dev