CVE-2025-47912

Medium

Description

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.

SeverityMedium
CVSS5.3
Exploit probability—
ProductGo
PublishedOct 29, 2025
First seenOct 29, 2025
Weakness typeCWE-1286CWE-1286

How to fix

Update
  • golang go1.24.8, 1.25.2 or later
  • stdlib1.24.8, 1.25.2 or later

Affected products

ProductAffected versionsFixed in
golang gov < 1.24.8, 1.25.0 ≤ v < 1.25.21.24.8, 1.25.2
stdlibGov < 1.24.8, 1.25.0 ≤ v < 1.25.21.24.8, 1.25.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.