CVE-2026-77972 PUBLISHED

safeurl validated address is not bound to the request, allowing DNS rebinding

Assigner: EEF
Reserved: 24.08.2026 Published: 15.09.2026 Updated: 15.09.2026

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.

Metrics

CVSS 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
CVSS Score: 9

Product Status

Vendor Slab
Product safeurl
Versions Default: unaffected
  • affected from 0.1.0 to * (excl.)
Vendor Slab
Product safeurl
Versions Default: unaffected
  • affected from feabbd0a13f83028ab24b71710526e9da9841f70 to * (excl.)

Credits

  • Jonatan Männchen / EEF reporter
  • Jonatan Männchen / EEF coordinator

References

Problem Types

  • CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition CWE

Impacts

  • CAPEC-664 Server Side Request Forgery