Skip to main content
VulnerabilityPublished Updated

CVE-2025-47912: Go standard library net/url · Improper Validation of Syntactic Correctness of Input

Affects Go standard library net/urlSource CVE Database V5

0

Not known to be exploited · CVSS 5.3 Medium.

Data as of 26 Oct 2026, 10:12 UTC

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 40% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 29 Oct 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
Gonet/urlpkg:golang/net/urlOther threatsAffected
  • =0
  • =1.25.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

European organizations should take the following specific mitigation steps: 1) Identify all applications and services using the Go standard library net/url package, particularly versions up to 1.25.0. 2) Monitor official Go project repositories and security advisories for patches addressing CVE-2025-47912 and apply updates promptly once available. 3) Implement additional input validation layers in applications that parse URLs, enforcing strict adherence to RFC 3986, especially ensuring that only IPv6 addresses are enclosed in square brackets. 4) Conduct code reviews and security testing focused on URL parsing logic to detect and remediate potential misuse or assumptions based on the flawed parsing behavior. 5) Employ runtime monitoring and anomaly detection to identify suspicious URL patterns or access attempts that exploit malformed URLs. 6) For critical systems, consider temporary workarounds such as sanitizing input URLs before parsing or using alternative parsing libraries until official patches are applied. 7) Educate developers about the implications of improper URL parsing and encourage secure coding practices around input validation.

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.

References

Community reviews

Loading reviews…