# CVE-2026-77866: SSRF protection bypass in safeurl via IPv6 addresses and unresolvable hosts

- Severity: Critical 9.0 (CVSS:4.0, scored by EEF) `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`
- 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.46%, higher than 41% of CVEs (2026-12-01)
- Published: 2026-09-15T15:38:15.886Z
- Modified: 2026-11-25T17:23:10.044Z
- Also known as: EEF-CVE-2026-77866
- Weaknesses: CWE-636, CWE-918
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: EEF

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

(As written by CVE List.)

## Affected

- safeurl: from 0.1.0 before *
- slab/safeurl-elixir: from feabbd0a13f83028ab24b71710526e9da9841f70 before *
- safeurl (Hex): from 0.1.0
- https://github.com/slab/safeurl-elixir: from feabbd0a13f83028ab24b71710526e9da9841f70

## Every score

- EEF: CVSS:4.0 9.0 Critical `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: 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`

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

- CVE List: [CVE-2026-77866](https://www.cve.org/CVERecord?id=CVE-2026-77866), CVE Terms of Use, modified 2026-11-19
- Erlang Ecosystem Foundation: [EEF-CVE-2026-77866](https://osv.dev/vulnerability/EEF-CVE-2026-77866), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-77866](https://nvd.nist.gov/vuln/detail/CVE-2026-77866), Public domain, modified 2026-09-21

---

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