Skip to content
OpenAdvisories
Medium · 6.3 CVE-2026-54452 EUVD-2026-77630GHSA-xgch-x3mx-cm3cGO-2026-5997

safeurl: Missing IPv6 CIDR Ranges in Blocklist

Published Sep 14, 2026 · Updated Sep 16, 2026 · 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.

Affected products

VendorProductAffectedFixed
doyensec safeurl < 0.2.4 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/doyensec/safeurl < 0.2.4 0.2.4 GHSA-xgch-x3mx-cm3c

Advisories 1

References