Advisory record · GHSA-xgch-x3mx-cm3c

safeurl is Missing IPv6 CIDR Ranges in Blocklist

CVSS 6.3 MediumEPSS 0.0052 · 44th percentile

Published by the GitHub Advisory Database at 15 Jul 2026, 21:58 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/doyensec/safeurlGo<0.2.40.2.4
Identifiers
GHSA-xgch-x3mx-cm3c · CVE-2026-54452 · GO-2026-5997
Weakness (CWE)
CWE-918
Published
15 Jul 2026
Updated
21 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The safeurl Go package (github.com/doyensec/safeurl) before 0.2.4 has a blocklist of private network ranges that is missing four IPv6 CIDR ranges, so those addresses are not blocked. An attacker who can supply URLs to the library could use these ranges to reach resources hosted on the IPs in them. Upgrade to version 0.2.4. As a workaround, disable IPv6 with EnableIPv6(false), which the source describes as the library's default.

Written 6 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.3 Medium 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0052, the 44th percentile, on 12 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:05 UTC First seen by agentprime
  2. 31 Oct 2026, 15:05 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.