Skip to content

CVE-2026-69246 Guzzle: Noncanonical host can bypass host-based checks

HighCVSS 7.2 EPSS 0.37%
Published
Updated
Exploit status
No public exploit known

Description

Guzzle is an extensible PHP HTTP client. Prior to 7.15.2 and 8.0.1, Guzzle gives a transport the request URI as text and supplies the Host header separately. The cURL handlers set CURLOPT_URL to the URI exactly as written and push that Host into CURLOPT_HTTPHEADER; StreamHandler does the same through fopen(). libcurl then parses the authority itself, percent-decoding it and, on an IDN-capable build, applying IDNA mapping, and uses the result to resolve, connect, name the TLS peer and address a proxy CONNECT, while the supplied Host suppresses the aligned one libcurl would have generated. For a URI host written as 127.0.0.%31, filter_var() rejects the host as an IP literal, yet libcurl decodes it to 127.0.0.1 and reaches loopback with no DNS lookup while the server receives Host: 127.0.0.%31. An attacker who influences a fetched URI can therefore reach a host the application's checks excluded and read whatever the host exposes of the response. The same divergence moves Guzzle's own decisions onto a spelling the transport does not use: no_proxy selects proxy routing from the literal host, and RedirectMiddleware decides from it whether to strip Authorization and Cookie. Exploitation requires the application to build a request URI from untrusted input and to make a host decision before handing it to Guzzle. This issue is fixed in versions 7.15.2 and 8.0.1.

Affected products

ProductAffected versionsFixed in
guzzlehttp/guzzle(Packagist) < 7.15.2 7.15.2
guzzlehttp/guzzle(Packagist) = 4.0.0 No fix listed
guzzlehttp/guzzle(Packagist) = 4.0.0-rc.1 No fix listed
guzzlehttp/guzzle(Packagist) = 4.0.0-rc.2 No fix listed
guzzlehttp/guzzle(Packagist) = 4.0.1 No fix listed
guzzlehttp/guzzle(Packagist) = 4.0.2 No fix listed
guzzlehttp/guzzle(Packagist) = 4.1.0 No fix listed
guzzlehttp/guzzle(Packagist) = 4.1.1 No fix listed
guzzlehttp/guzzle(Packagist) = 4.1.2 No fix listed
guzzlehttp/guzzle(Packagist) = 4.1.3 No fix listed
guzzlehttp/guzzle(Packagist) = 4.1.4 No fix listed
guzzlehttp/guzzle(Packagist) = 4.1.5 No fix listed
guzzlehttp/guzzle(Packagist) = 4.1.6 No fix listed
guzzlehttp/guzzle(Packagist) = 4.1.7 No fix listed
guzzlehttp/guzzle(Packagist) = 4.1.8 No fix listed
guzzlehttp/guzzle(Packagist) = 4.2.0 No fix listed
guzzlehttp/guzzle(Packagist) = 4.2.1 No fix listed
guzzlehttp/guzzle(Packagist) = 4.2.2 No fix listed
guzzlehttp/guzzle(Packagist) = 4.2.3 No fix listed
guzzlehttp/guzzle(Packagist) = 4.2.4 No fix listed
guzzlehttp/guzzle(Packagist) = 5.0.0 No fix listed
guzzlehttp/guzzle(Packagist) = 5.0.1 No fix listed
guzzlehttp/guzzle(Packagist) = 5.0.2 No fix listed
guzzlehttp/guzzle(Packagist) = 5.0.3 No fix listed
guzzlehttp/guzzle(Packagist) = 5.1.0 No fix listed
Show 175 more
ProductAffected versionsFixed in
guzzlehttp/guzzle(Packagist) = 5.2.0 No fix listed
guzzlehttp/guzzle(Packagist) = 5.3.0 No fix listed
guzzlehttp/guzzle(Packagist) = 5.3.1 No fix listed
guzzlehttp/guzzle(Packagist) = 5.3.2 No fix listed
guzzlehttp/guzzle(Packagist) = 5.3.3 No fix listed
guzzlehttp/guzzle(Packagist) = 5.3.4 No fix listed
guzzlehttp/guzzle(Packagist) = 6.0.0 No fix listed
guzzlehttp/guzzle(Packagist) = 6.0.1 No fix listed
guzzlehttp/guzzle(Packagist) = 6.0.2 No fix listed
guzzlehttp/guzzle(Packagist) = 6.1.0 No fix listed
guzzlehttp/guzzle(Packagist) = 6.1.1 No fix listed
guzzlehttp/guzzle(Packagist) = 6.2.0 No fix listed
guzzlehttp/guzzle(Packagist) = 6.2.1 No fix listed
guzzlehttp/guzzle(Packagist) = 6.2.2 No fix listed
guzzlehttp/guzzle(Packagist) = 6.2.3 No fix listed
guzzlehttp/guzzle(Packagist) = 6.3.0 No fix listed
guzzlehttp/guzzle(Packagist) = 6.3.1 No fix listed
guzzlehttp/guzzle(Packagist) = 6.3.2 No fix listed
guzzlehttp/guzzle(Packagist) = 6.3.3 No fix listed
guzzlehttp/guzzle(Packagist) = 6.4.0 No fix listed
guzzlehttp/guzzle(Packagist) = 6.4.1 No fix listed
guzzlehttp/guzzle(Packagist) = 6.5.0 No fix listed
guzzlehttp/guzzle(Packagist) = 6.5.1 No fix listed
guzzlehttp/guzzle(Packagist) = 6.5.2 No fix listed
guzzlehttp/guzzle(Packagist) = 6.5.3 No fix listed
guzzlehttp/guzzle(Packagist) = 6.5.4 No fix listed
guzzlehttp/guzzle(Packagist) = 6.5.5 No fix listed
guzzlehttp/guzzle(Packagist) = 6.5.6 No fix listed
guzzlehttp/guzzle(Packagist) = 6.5.7 No fix listed
guzzlehttp/guzzle(Packagist) = 6.5.8 No fix listed
guzzlehttp/guzzle(Packagist) = 7.0.0 No fix listed
guzzlehttp/guzzle(Packagist) = 7.0.0-beta.1 No fix listed
guzzlehttp/guzzle(Packagist) = 7.0.0-beta.2 No fix listed
guzzlehttp/guzzle(Packagist) = 7.0.0-rc.1 No fix listed
guzzlehttp/guzzle(Packagist) = 7.0.1 No fix listed
guzzlehttp/guzzle(Packagist) = 7.1.0 No fix listed
guzzlehttp/guzzle(Packagist) = 7.1.1 No fix listed
guzzlehttp/guzzle(Packagist) = 7.10.0 No fix listed
guzzlehttp/guzzle(Packagist) = 7.10.1 No fix listed
guzzlehttp/guzzle(Packagist) = 7.10.2 No fix listed
guzzlehttp/guzzle(Packagist) = 7.10.3 No fix listed
guzzlehttp/guzzle(Packagist) = 7.10.4 No fix listed
guzzlehttp/guzzle(Packagist) = 7.10.5 No fix listed
guzzlehttp/guzzle(Packagist) = 7.10.6 No fix listed
guzzlehttp/guzzle(Packagist) = 7.11.0 No fix listed
guzzlehttp/guzzle(Packagist) = 7.11.1 No fix listed
guzzlehttp/guzzle(Packagist) = 7.11.2 No fix listed
guzzlehttp/guzzle(Packagist) = 7.12.0 No fix listed
guzzlehttp/guzzle(Packagist) = 7.12.1 No fix listed
guzzlehttp/guzzle(Packagist) = 7.12.2 No fix listed
guzzlehttp/guzzle(Packagist) = 7.12.3 No fix listed
guzzlehttp/guzzle(Packagist) = 7.13.0 No fix listed
guzzlehttp/guzzle(Packagist) = 7.13.1 No fix listed
guzzlehttp/guzzle(Packagist) = 7.13.2 No fix listed
guzzlehttp/guzzle(Packagist) = 7.13.3 No fix listed
guzzlehttp/guzzle(Packagist) = 7.14.0 No fix listed
guzzlehttp/guzzle(Packagist) = 7.14.1 No fix listed
guzzlehttp/guzzle(Packagist) = 7.14.2 No fix listed
guzzlehttp/guzzle(Packagist) = 7.15.0 No fix listed
guzzlehttp/guzzle(Packagist) = 7.15.1 No fix listed
guzzlehttp/guzzle(Packagist) = 7.2.0 No fix listed
guzzlehttp/guzzle(Packagist) = 7.3.0 No fix listed
guzzlehttp/guzzle(Packagist) = 7.4.0 No fix listed
guzzlehttp/guzzle(Packagist) = 7.4.1 No fix listed
guzzlehttp/guzzle(Packagist) = 7.4.2 No fix listed
guzzlehttp/guzzle(Packagist) = 7.4.3 No fix listed
guzzlehttp/guzzle(Packagist) = 7.4.4 No fix listed
guzzlehttp/guzzle(Packagist) = 7.4.5 No fix listed
guzzlehttp/guzzle(Packagist) = 7.5.0 No fix listed
guzzlehttp/guzzle(Packagist) = 7.5.1 No fix listed
guzzlehttp/guzzle(Packagist) = 7.5.2 No fix listed
guzzlehttp/guzzle(Packagist) = 7.5.3 No fix listed
guzzlehttp/guzzle(Packagist) = 7.6.0 No fix listed
guzzlehttp/guzzle(Packagist) = 7.6.1 No fix listed
guzzlehttp/guzzle(Packagist) = 7.7.0 No fix listed
guzzlehttp/guzzle(Packagist) = 7.7.1 No fix listed
guzzlehttp/guzzle(Packagist) = 7.8.0 No fix listed
guzzlehttp/guzzle(Packagist) = 7.8.1 No fix listed
guzzlehttp/guzzle(Packagist) = 7.8.2 No fix listed
guzzlehttp/guzzle(Packagist) = 7.9.0 No fix listed
guzzlehttp/guzzle(Packagist) = 7.9.1 No fix listed
guzzlehttp/guzzle(Packagist) = 7.9.2 No fix listed
guzzlehttp/guzzle(Packagist) = 7.9.3 No fix listed
guzzlehttp/guzzle(Packagist) = v1.0.3 No fix listed
guzzlehttp/guzzle(Packagist) = v1.0.4 No fix listed
guzzlehttp/guzzle(Packagist) = v2.0.0 No fix listed
guzzlehttp/guzzle(Packagist) = v2.0.1 No fix listed
guzzlehttp/guzzle(Packagist) = v2.0.2 No fix listed
guzzlehttp/guzzle(Packagist) = v2.0.3 No fix listed
guzzlehttp/guzzle(Packagist) = v2.0.4 No fix listed
guzzlehttp/guzzle(Packagist) = v2.0.5 No fix listed
guzzlehttp/guzzle(Packagist) = v2.1.0 No fix listed
guzzlehttp/guzzle(Packagist) = v2.1.1 No fix listed
guzzlehttp/guzzle(Packagist) = v2.1.2 No fix listed
guzzlehttp/guzzle(Packagist) = v2.1.3 No fix listed
guzzlehttp/guzzle(Packagist) = v2.1.4 No fix listed
guzzlehttp/guzzle(Packagist) = v2.2.0 No fix listed
guzzlehttp/guzzle(Packagist) = v2.2.1 No fix listed
guzzlehttp/guzzle(Packagist) = v2.2.2 No fix listed
guzzlehttp/guzzle(Packagist) = v2.2.3 No fix listed
guzzlehttp/guzzle(Packagist) = v2.2.4 No fix listed
guzzlehttp/guzzle(Packagist) = v2.3.2 No fix listed
guzzlehttp/guzzle(Packagist) = v2.4.0 No fix listed
guzzlehttp/guzzle(Packagist) = v2.4.1 No fix listed
guzzlehttp/guzzle(Packagist) = v2.5.0 No fix listed
guzzlehttp/guzzle(Packagist) = v2.6.0 No fix listed
guzzlehttp/guzzle(Packagist) = v2.6.1 No fix listed
guzzlehttp/guzzle(Packagist) = v2.6.2 No fix listed
guzzlehttp/guzzle(Packagist) = v2.6.3 No fix listed
guzzlehttp/guzzle(Packagist) = v2.6.4 No fix listed
guzzlehttp/guzzle(Packagist) = v2.6.5 No fix listed
guzzlehttp/guzzle(Packagist) = v2.6.6 No fix listed
guzzlehttp/guzzle(Packagist) = v2.7.0 No fix listed
guzzlehttp/guzzle(Packagist) = v2.7.1 No fix listed
guzzlehttp/guzzle(Packagist) = v2.7.2 No fix listed
guzzlehttp/guzzle(Packagist) = v2.8.0 No fix listed
guzzlehttp/guzzle(Packagist) = v2.8.1 No fix listed
guzzlehttp/guzzle(Packagist) = v2.8.2 No fix listed
guzzlehttp/guzzle(Packagist) = v2.8.3 No fix listed
guzzlehttp/guzzle(Packagist) = v2.8.4 No fix listed
guzzlehttp/guzzle(Packagist) = v2.8.5 No fix listed
guzzlehttp/guzzle(Packagist) = v2.8.6 No fix listed
guzzlehttp/guzzle(Packagist) = v2.8.7 No fix listed
guzzlehttp/guzzle(Packagist) = v2.8.8 No fix listed
guzzlehttp/guzzle(Packagist) = v3.0.0 No fix listed
guzzlehttp/guzzle(Packagist) = v3.0.1 No fix listed
guzzlehttp/guzzle(Packagist) = v3.0.2 No fix listed
guzzlehttp/guzzle(Packagist) = v3.0.3 No fix listed
guzzlehttp/guzzle(Packagist) = v3.0.4 No fix listed
guzzlehttp/guzzle(Packagist) = v3.0.5 No fix listed
guzzlehttp/guzzle(Packagist) = v3.0.6 No fix listed
guzzlehttp/guzzle(Packagist) = v3.0.7 No fix listed
guzzlehttp/guzzle(Packagist) = v3.1.0 No fix listed
guzzlehttp/guzzle(Packagist) = v3.1.1 No fix listed
guzzlehttp/guzzle(Packagist) = v3.1.2 No fix listed
guzzlehttp/guzzle(Packagist) = v3.2.0 No fix listed
guzzlehttp/guzzle(Packagist) = v3.3.0 No fix listed
guzzlehttp/guzzle(Packagist) = v3.3.1 No fix listed
guzzlehttp/guzzle(Packagist) = v3.4.0 No fix listed
guzzlehttp/guzzle(Packagist) = v3.4.1 No fix listed
guzzlehttp/guzzle(Packagist) = v3.4.2 No fix listed
guzzlehttp/guzzle(Packagist) = v3.4.3 No fix listed
guzzlehttp/guzzle(Packagist) = v3.5.0 No fix listed
guzzlehttp/guzzle(Packagist) = v3.6.0 No fix listed
guzzlehttp/guzzle(Packagist) = v3.7.0 No fix listed
guzzlehttp/guzzle(Packagist) = v3.7.1 No fix listed
guzzlehttp/guzzle(Packagist) = v3.7.2 No fix listed
guzzlehttp/guzzle(Packagist) = v3.7.3 No fix listed
guzzlehttp/guzzle(Packagist) = v3.7.4 No fix listed
guzzlehttp/guzzle(Packagist) = v3.8.0 No fix listed
guzzlehttp/guzzle(Packagist) = v3.8.1 No fix listed
guzzlehttp/guzzle(Packagist) >= 8.0.0, < 8.0.1 8.0.1
guzzlehttp/guzzle(Packagist) = 8.0.0 No fix listed
guzzle = >= 8.0.0, < 8.0.1 No fix listed
guzzle = < 7.15.2 No fix listed
debian/guzzle(Debian:12) All versions No fix listed
debian/guzzle(Debian:12) = 7.11.0-1 No fix listed
debian/guzzle(Debian:12) = 7.12.0-1 No fix listed
debian/guzzle(Debian:12) = 7.12.1-1 No fix listed
debian/guzzle(Debian:12) = 7.12.3-1 No fix listed
debian/guzzle(Debian:12) = 7.13.1-1 No fix listed
debian/guzzle(Debian:12) = 7.14.0-1 No fix listed
debian/guzzle(Debian:12) = 7.14.1-1 No fix listed
debian/guzzle(Debian:12) = 7.14.2-1 No fix listed
debian/guzzle(Debian:12) = 7.15.0-1 No fix listed
debian/guzzle(Debian:12) = 7.15.1-1 No fix listed
debian/guzzle(Debian:12) = 7.15.2-1 No fix listed
debian/guzzle(Debian:12) = 7.15.3-1 No fix listed
debian/guzzle(Debian:12) = 7.15.5-1 No fix listed
debian/guzzle(Debian:12) = 7.4.5-1 No fix listed
debian/guzzle(Debian:12) = 7.9.2-0.1 No fix listed
debian/guzzle(Debian:12) = 8.0.1-1 No fix listed
debian/guzzle(Debian:12) = 8.0.2-1 No fix listed
debian/guzzle(Debian:12) = 8.1.0-1 No fix listed
debian/guzzle(Debian:12) = 8.2.0-1 No fix listed

References