CVE-2026-33744: Py Httpx Dns Rebinding Toctou

The application checks an input conditionally but then performs an HTTP request using an independent HTTP client (httpx). This creates a Time-of-Check to Time-of-Use (TOCTOU) vulnerability known as DNS Rebinding. If the check resolves DNS, the IP might change before the HTTP client connects. Secure the HTTP client inherently by enforcing IP checks directly a

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0Python
greprules fetch cve-2026-33744-py-httpx-dns-rebinding-toctou --engine opengrep

Description

The application checks an input conditionally but then performs an HTTP request using an independent HTTP client (httpx). This creates a Time-of-Check to Time-of-Use (TOCTOU) vulnerability known as DNS Rebinding. If the check resolves DNS, the IP might change before the HTTP client connects. Secure the HTTP client inherently by enforcing IP checks directly a