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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.3
- **CVSS:** 6.3 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: None; Confidentiality impact: Low; Integrity impact: Low; Availability impact: None; Confidentiality impact on other systems: Low; Integrity impact on other systems: Low; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.52% (percentile 38, 2026-11-26)
- **CWE:** CWE-918
- **Aliases:** GHSA-xgch-x3mx-cm3c, GO-2026-5997
- **Published:** 2026-07-15T21:58:03.000Z
- **Modified:** 2026-09-30T17:51:56.193Z

## Who should check

- Projects that depend on Go package github.com/doyensec/safeurl (\< 0.2.4)
- Anyone running doyensec safeurl \< 0.2.4

## 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.

## Affected and fixed versions

- Go `github.com/doyensec/safeurl`: affected \< 0.2.4; fixed 0.2.4 (osv)
- doyensec safeurl: \< 0.2.4 (cvelist)

## Mitigation

- Upgrade github.com/doyensec/safeurl to 0.2.4 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-54452. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-54452.md
Affected: github.com/doyensec/safeurl < 0.2.4
Fixed in: 0.2.4

Steps:
1. Search this machine and project for github.com/doyensec/safeurl (Go), doyensec safeurl: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-54452 being exploited?

There is no confirmed exploitation: CVE-2026-54452 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.52% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-54452?

Medium: CVSS 6.3 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-54452?

github.com/doyensec/safeurl \< 0.2.4.

### Is there a fix for CVE-2026-54452?

Yes. Fixed in 0.2.4. Upgrade github.com/doyensec/safeurl to 0.2.4 or later.

### How do I check if I'm affected by CVE-2026-54452?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/doyensec/safeurl/security/advisories/GHSA-xgch-x3mx-cm3c>
- patch: <https://github.com/doyensec/safeurl/pull/12>
- patch: <https://github.com/doyensec/safeurl/commit/d8f1021ea535b276f92999f0ec865da40e467016>
- other: <https://github.com/doyensec/safeurl/releases/tag/v0.2.4>
- other: <https://github.com/doyensec/safeurl>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-54452>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-xgch-x3mx-cm3c> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2026-5997> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-54452> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-54452>
