9.0critical
SSRF protection bypass in safeurl via IPv6 addresses and unresolvable hosts
- Severity
- 9.0critical CVSS:4.0 by EEF
- Exploit likelihood
- 0.46% (higher than 41% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- EEF
- Also known as
- EEF-CVE-2026-77866
Description
Server-Side Request Forgery (SSRF) vulnerability in Slab safeurl allows an attacker who controls a validated URL to reach internal network destinations the library is configured to block. Only IPv4 addresses are matched against the reserved ranges and the blocklist. Every other address is treated as matching nothing, so a destination that is rejected in its IPv4 form is accepted when written as an IPv6 address, IPv6 entries in the blocklist never match, and a host that resolves to no IPv4 address is accepted regardless of where it points. Deployments that rely on the allowlist instead are unaffected, because there an unmatched address is rejected. This issue affects safeurl: from 0.1.0 onward.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| safeurl | from 0.1.0 before * | CVE List |
| slab/safeurl-elixir | from feabbd0a13f83028ab24b71710526e9da9841f70 before * | CVE List |
| safeurl (Hex) | from 0.1.0 | Erlang Ecosystem Foundation |
| https://github.com/slab/safeurl-elixir | from feabbd0a13f83028ab24b71710526e9da9841f70 | Erlang Ecosystem Foundation |
All scores
| EEF | 9.0critical CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N |
| Erlang Ecosystem Foundation | Not scored CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N |
Classification
What each source says
CVE List
Server-Side Request Forgery (SSRF) vulnerability in Slab safeurl allows an attacker who controls a validated URL to reach internal network destinations the library is configured to block. Only IPv4 addresses are matched against the reserved ranges and the blocklist. Every other address is treated as matching nothing, so a destination that is rejected in its IPv4 form is accepted when written as an IPv6 address, IPv6 entries in the blocklist never match, and a host that resolves to no IPv4 address is accepted regardless of where it points. Deployments that rely on the allowlist instead are unaffected, because there an unmatched address is rejected. This issue affects safeurl: from 0.1.0 onward.
Erlang Ecosystem Foundation
Summary
Server-Side Request Forgery (SSRF) vulnerability in Slab safeurl allows an attacker who controls a validated URL to reach internal network destinations the library is configured to block.
Only IPv4 addresses are matched against the reserved ranges and the blocklist. Every other address is treated as matching nothing, so a destination that is rejected in its IPv4 form is accepted when written as an IPv6 address, IPv6 entries in the blocklist never match, and a host that resolves to no IPv4 address is accepted regardless of where it points. Deployments that rely on the allowlist instead are unaffected, because there an unmatched address is rejected.
This issue affects safeurl: from 0.1.0 onward.
References
| https://cna.erlef.org/cves/CVE-2026-77866.html | related, third-party-advisory, web | |
| https://osv.dev/vulnerability/EEF-CVE-2026-77866 | related | |
| https://github.com/slab/safeurl-elixir/commit/feabbd0a13f83028ab24b71710526e9da9841f70 | related, web | |
| https://hex.pm/packages/safeurl | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-77866 changed 2026-11-19 | CVE Terms of Use |
| Erlang Ecosystem Foundation | EEF-CVE-2026-77866 changed 2026-11-25 | CC-BY-4.0 |
| NVD | CVE-2026-77866 changed 2026-09-21 | Public domain |