{"id":"CVE-2026-77972","aliases":["CVE-2026-77972","EEF-CVE-2026-77972"],"related":[],"kind":"vulnerability","state":"published","title":"safeurl validated address is not bound to the request, allowing DNS rebinding","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.\n\nValidation 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.\n\nThis issue affects safeurl: from 0.1.0 onward.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\nValidation 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.\n\nThis issue affects safeurl: from 0.1.0 onward.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nTime-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.\n\nValidation 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.\n\nThis issue affects safeurl: from 0.1.0 onward.","format":"markdown","source":"eef"}],"published":"2026-09-15T15:37:49.948Z","modified":"2026-11-26T17:23:12.487Z","severity":{"scorer":"EEF","scheme":"CVSS:4.0","vector":"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","score":9,"rating":"CRITICAL"},"severities":[{"scorer":"EEF","scheme":"CVSS:4.0","vector":"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","score":9,"rating":"CRITICAL"},{"scorer":"Erlang Ecosystem Foundation","scheme":"CVSS:4.0","vector":"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"}],"cwes":["CWE-367"],"affected":[{"ranges":[{"type":"semver","introduced":"0.1.0","fixed":"*","status":"affected"}],"vendor":"Slab","product":"safeurl","package":"safeurl","cpe":"cpe:2.3:a:slab:safeurl:*:*:*:*:*:*:*:*","repo":"https://github.com/slab/safeurl-elixir","source":"cvelist"},{"ranges":[{"type":"git","introduced":"feabbd0a13f83028ab24b71710526e9da9841f70","fixed":"*","status":"affected"}],"vendor":"Slab","product":"safeurl","package":"slab/safeurl-elixir","cpe":"cpe:2.3:a:slab:safeurl:*:*:*:*:*:*:*:*","repo":"https://github.com/slab/safeurl-elixir","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.1.0","status":"affected"}],"ecosystem":"Hex","package":"safeurl","purl":"pkg:hex/safeurl","source":"eef"},{"ranges":[{"type":"git","introduced":"feabbd0a13f83028ab24b71710526e9da9841f70","status":"affected"}],"repo":"https://github.com/slab/safeurl-elixir","source":"eef"}],"references":[{"url":"https://cna.erlef.org/cves/CVE-2026-77972.html","tags":["related","third-party-advisory","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-77972","tags":["related"],"sources":["cvelist","nvd"]},{"url":"https://github.com/slab/safeurl-elixir/commit/feabbd0a13f83028ab24b71710526e9da9841f70","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://hex.pm/packages/safeurl","tags":["package"],"sources":["eef"]}],"credits":["Jonatan Männchen / EEF"],"assigner":"EEF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-09-21T18:44:04.900Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-77972","url":"https://www.cve.org/CVERecord?id=CVE-2026-77972","licence":"CVE Terms of Use","modified":"2026-11-19T08:31:47.473Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2026-77972","url":"https://osv.dev/vulnerability/EEF-CVE-2026-77972","licence":"CC-BY-4.0","modified":"2026-11-26T17:23:12.487Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-77972","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77972","licence":"Public domain","modified":"2026-09-21T19:17:11.153Z"}],"updatedAt":"2026-11-26T17:37:12.789Z","epss":{"score":0.00317,"percentile":0.26554,"date":"2026-12-02T12:00:21.000Z"}}