# CVE-2026-77972: safeurl validated address is not bound to the request, allowing DNS rebinding

- Severity: Critical 9.0 (CVSS:4.0, scored by EEF) `CVSS:4.0/AV:N/AC:H/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.32%, higher than 26% of CVEs (2026-12-02)
- Published: 2026-09-15T15:37:49.948Z
- Modified: 2026-11-26T17:23:12.487Z
- Also known as: EEF-CVE-2026-77972
- Weaknesses: CWE-367
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: EEF

## Description

Time-of-check Time-of-use (TOCTOU) Race Condition in Slab safeurl allows an attacker who controls a hostname's DNS responses to reach internal network destinations that validation rejected.

Validation returns a verdict and not the address it approved, so the HTTP clients the library ships receive the original hostname and resolve it a second time when the request is made. An attacker who controls the authoritative DNS for a name can answer the first lookup with a permitted address and the second with a blocked one, and the request then reaches a destination validation never approved. The same window opens without an attacker whenever a name legitimately resolves to different addresses across lookups, such as short record lifetimes or rotation between several addresses.

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:H/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:H/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-77972.html> (related, third-party-advisory, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-77972> (related)
- <https://github.com/slab/safeurl-elixir/commit/feabbd0a13f83028ab24b71710526e9da9841f70> (related, web)
- <https://hex.pm/packages/safeurl> (package)

## Sources

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

---

Page: https://cve.day/CVE-2026-77972 · Whole record: https://cve.day/CVE-2026-77972.json · Rebuilt by cve.day 2026-11-26T17:37:12.789Z
