EEF-CVE-2026-77972

Source
https://cna.erlef.org/osv/EEF-CVE-2026-77972.html
Import Source
https://cna.erlef.org/osv/EEF-CVE-2026-77972.json
JSON Data
https://api.osv.dev/v1/vulns/EEF-CVE-2026-77972
Aliases
  • CVE-2026-77972
Published
2026-09-15T15:37:49Z
Modified
2026-09-15T15:45:03Z
Severity
  • 9.0 (Critical) CVSS_V4 - 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 CVSS Calculator
Summary
safeurl validated address is not bound to the request, allowing DNS rebinding
Details

Summary

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.

Database specific
{
    "capec_ids": [
        "CAPEC-664"
    ],
    "cpe_ids": [
        "cpe:2.3:a:slab:safeurl:*:*:*:*:*:*:*:*"
    ],
    "cwe_ids": [
        "CWE-367"
    ]
}
References
Credits
    • Jonatan Männchen / EEF - REPORTER
    • Jonatan Männchen / EEF - COORDINATOR

Affected packages

Hex / safeurl

Package

Name
safeurl
Purl
pkg:hex/safeurl

Affected ranges

Type
SEMVER
Events
Introduced
0.1.0

Affected versions

0.*
0.1.0
0.2.0
0.3.0
0.3.1
1.*
1.0.0

Database specific

source
"https://cna.erlef.org/osv/EEF-CVE-2026-77972.json"

Git / github.com/slab/safeurl-elixir

Affected ranges

Type
GIT
Repo
https://github.com/slab/safeurl-elixir
Events

Affected versions

v0.*
v0.1.0
v0.2.0
v0.3.0
v0.3.1
v1.*
v1.0.0

Database specific

source
"https://cna.erlef.org/osv/EEF-CVE-2026-77972.json"