# CVE-2026-54452: safeurl: Missing IPv6 CIDR Ranges in Blocklist

- Severity: Medium 6.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Published: 2026-07-15T21:58:03.000Z
- Modified: 2026-09-30T17:51:56.193Z
- Also known as: GHSA-xgch-x3mx-cm3c, GO-2026-5997
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- doyensec safeurl: < 0.2.4
- github.com/doyensec/safeurl (Go): before 0.2.4

## Every score

- GitHub_M: CVSS:4.0 6.3 Medium `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`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/doyensec/safeurl/security/advisories/GHSA-xgch-x3mx-cm3c> (advisory, web)
- <https://github.com/doyensec/safeurl/pull/12>
- <https://github.com/doyensec/safeurl/commit/d8f1021ea535b276f92999f0ec865da40e467016>
- <https://github.com/doyensec/safeurl/releases/tag/v0.2.4> (web)
- <https://github.com/doyensec/safeurl> (package)

## Sources

- CVE List: [CVE-2026-54452](https://www.cve.org/CVERecord?id=CVE-2026-54452), CVE Terms of Use, modified 2026-09-16
- GitHub Advisory Database: [GHSA-xgch-x3mx-cm3c](https://github.com/advisories/GHSA-xgch-x3mx-cm3c), CC-BY-4.0, modified 2026-07-21
- Go Vulnerability Database: [GO-2026-5997](https://pkg.go.dev/vuln/GO-2026-5997), CC-BY-4.0, modified 2026-07-21
- NVD: [CVE-2026-54452](https://nvd.nist.gov/vuln/detail/CVE-2026-54452), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-54452 · Whole record: https://cve.day/CVE-2026-54452.json · Rebuilt by cve.day 2026-11-25T22:59:38.307Z
