CVE-2026-77866
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
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Slab | safeurl | 0.1.0 < * | affected |
| Slab | safeurl | feabbd0a13f83028ab24b71710526e9da9841f70 < * | affected |
Weaknesses
- CWE-918: CWE-918 Server-Side Request Forgery (SSRF)
- CWE-636: CWE-636 Not Failing Securely ('Failing Open')
References
- https://cna.erlef.org/cves/CVE-2026-77866.html
- https://osv.dev/vulnerability/EEF-CVE-2026-77866
- https://github.com/slab/safeurl-elixir/commit/feabbd0a13f83028ab24b71710526e9da9841f70
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.