{"id":"CVE-2026-77972","sourceIdentifier":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","published":"2026-09-15T16:17:24.290","lastModified":"2026-09-21T19:17:11.153","vulnStatus":"Awaiting Analysis","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","affectedData":[{"vendor":"Slab","product":"safeurl","defaultStatus":"unaffected","collectionURL":"https://repo.hex.pm","packageName":"safeurl","cpes":["cpe:2.3:a:slab:safeurl:*:*:*:*:*:*:*:*"],"modules":["'Elixir.SafeURL'","'Elixir.SafeURL.HTTPoison'","'Elixir.SafeURL.TeslaMiddleware'"],"programFiles":["lib/safeurl/safeurl.ex","lib/safeurl/httpoison.ex","lib/safeurl/tesla_middleware.ex"],"programRoutines":[{"name":"'Elixir.SafeURL':validate/2"},{"name":"'Elixir.SafeURL.HTTPoison':get/3"},{"name":"'Elixir.SafeURL.TeslaMiddleware':call/3"}],"repo":"https://github.com/slab/safeurl-elixir","packageURL":"pkg:hex/safeurl","versions":[{"version":"0.1.0","lessThan":"*","versionType":"semver","status":"affected"}]},{"vendor":"Slab","product":"safeurl","defaultStatus":"unaffected","collectionURL":"https://github.com","packageName":"slab/safeurl-elixir","cpes":["cpe:2.3:a:slab:safeurl:*:*:*:*:*:*:*:*"],"modules":["'Elixir.SafeURL'","'Elixir.SafeURL.HTTPoison'","'Elixir.SafeURL.TeslaMiddleware'"],"programFiles":["lib/safeurl/safeurl.ex","lib/safeurl/httpoison.ex","lib/safeurl/tesla_middleware.ex"],"programRoutines":[{"name":"'Elixir.SafeURL':validate/2"},{"name":"'Elixir.SafeURL.HTTPoison':get/3"},{"name":"'Elixir.SafeURL.TeslaMiddleware':call/3"}],"repo":"https://github.com/slab/safeurl-elixir","packageURL":"pkg:github/slab/safeurl-elixir","versions":[{"version":"feabbd0a13f83028ab24b71710526e9da9841f70","lessThan":"*","versionType":"git","status":"affected"}]}]}],"metrics":{"cvssMetricV40":[{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","type":"Secondary","cvssData":{"version":"4.0","vectorString":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","baseScore":9.0,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"HIGH","subIntegrityImpact":"LOW","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-09-21T18:44:04.900610Z","id":"CVE-2026-77972","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","type":"Secondary","description":[{"lang":"en","value":"CWE-367"}]}],"references":[{"url":"https://cna.erlef.org/cves/CVE-2026-77972.html","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://github.com/slab/safeurl-elixir/commit/feabbd0a13f83028ab24b71710526e9da9841f70","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-77972","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"}]}