CVE-2026-77972
published critical CVSS 4.0 · 9.0safeurl validated address is not bound to the request, allowing DNS rebinding
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.0 / 10
- Severity
- critical
- Provider
- EEF · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Slab | safeurl | 0.1.0 and later (affected · semver)Default: unaffected | EEF · cna |
| Slab | safeurl | feabbd0a13f83028ab24b71710526e9da9841f70 and later (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-367 CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
References
3- EEF CNA record for CVE-2026-77972 https://cna.erlef.org/cves/CVE-2026-77972.html
- Introducing commit feabbd0 in slab/safeurl-elixir https://github.com/slab/safeurl-elixir/commit/feabbd0a13f83028ab24b71710526e9da9841f70
- OSV record EEF-CVE-2026-77972 https://osv.dev/vulnerability/EEF-CVE-2026-77972
Provider assertions
2EEF · cna
safeurl validated address is not bound to the request, allowing DNS rebinding
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 09290f95322d9dae58c181fc7ecc2d2d6305bd0a3a29c9543ab44b737c3ec3ec
- Ingested
- 19 Nov 2026, 08:38:37 UTC
- Source record
- Official CVE record