Guzzle: Noncanonical host can bypass host-based checks
High severity. Published 3 August 2026. Update guzzlehttp/guzzle to the fixed version of your branch (7.15.2, 8.0.1): composer update guzzlehttp/guzzle.
Which versions are affected?
| Package | Affected versions | Fixed in |
|---|---|---|
| guzzlehttp/guzzle (opens in a new tab) | < 7.15.2 | >= 8.0.0, < 8.0.1 | 7.15.2, 8.0.1 |
What should you do?
Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:
composer show guzzlehttp/guzzle
composer auditAdvisory details
| Severity | HighCVSS 7.2 |
|---|---|
| Published | |
| Updated | |
| CVE | CVE-2026-69246 (opens in a new tab) |
| GHSA | GHSA-v5mv-p594-2x33 (opens in a new tab) |
| Weakness | CWE-180, CWE-436, CWE-918, CWE-941 |
What the advisory says
Impact
In affected versions, Guzzle gives a transport the request URI as text and supplies the Host header separately. The cURL handlers set CURLOPTURL to the URI exactly as written and push that Host into CURLOPTHTTPHEADER; 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 it would have generated.
Source: GHSA-v5mv-p594-2x33 (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .
Other recent advisories for this package
- Guzzle: Noncanonical cookie domain keeps subdomain scope (opens in a new tab) (medium, 3 August 2026)
- Guzzle: Host-only cookie scope is not preserved (opens in a new tab) (medium, 20 July 2026)
- Guzzle: URI fragments disclosed in redirect Referer headers (opens in a new tab) (medium, 20 July 2026)
- Guzzle: Cookie Disclosure and Injection via IP-Address Domains (opens in a new tab) (medium, 20 July 2026)
- Guzzle: Unbounded response cookies risk denial of service (opens in a new tab) (medium, 20 July 2026)