safeurl: Missing IPv6 CIDR Ranges in Blocklist
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.
Summary
safeurl is a server-side request forgery protection library. Prior to 0.2.4, the privateNetworks list in ip.go omits the IPv6 ranges 64:ff9b:1::/48, 5f00::/16, 3fff::/20, and 100:0:0:1::/64. When an application enables IPv6 with EnableIPv6(true), an attacker-controlled destination in one of these ranges is not recognized as non-public and can pass the SSRF destination check, potentially allowing access to resources hosted within the omitted ranges. IPv6 is disabled by default, and configurations that retain EnableIPv6(false) are not exposed to this bypass. This issue is fixed in version 0.2.4.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| doyensec | safeurl | before 0.2.4 | 0.2.4 | Patch available | CNA |
| — | github.com/doyensec/safeurl (Go) | before 0.2.4 | 0.2.4 | Patch available | GHSA-xgch-x3mx-cm3c |
- safeurl Vendordoyensec Affected before 0.2.4 Fixed in 0.2.4 Patch available CNA
- github.com/doyensec/safeurl (Go) Vendor— Affected before 0.2.4 Fixed in 0.2.4 Patch available GHSA-xgch-x3mx-cm3c
Remediation
- Fix · CNA safeurl (doyensec) Fixed in 0.2.4
- Fix · GHSA-xgch-x3mx-cm3c github.com/doyensec/safeurl (Go) Fixed in 0.2.4 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-54452
- 2026-10-03 Alias added: GHSA-xgch-x3mx-cm3c
References
Sources
- CVE-2026-54452 · CVE Program
- CVE-2026-54452 · NVD
- FIRST EPSS
- GHSA-xgch-x3mx-cm3c · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences