# CVE-2026-69245: Guzzle incorrect cookie domain matching for noncanonical IP addresses

Source: https://junglewise.ai/threats/cve-2026-69245-guzzle-incorrect-cookie-domain-matching-for-noncanonical-ip  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-08-03. Updated: 2026-08-03  
License: CC BY 4.0 with a link back

CVE-2026-69245 · Severity: medium · CVSS 6.5 · Published 2026-08-03

Guzzle is a popular PHP library used by applications to make web requests. A flaw in how it handles cookies allows sensitive session information to be sent to unintended websites if the application uses non-standard IP address formats (like hexadecimal or percent-encoded addresses). This could lead to account takeover or session fixation if an attacker controls a host within the same private or container network.

Technologies: [guzzlehttp/guzzle (Packagist)](https://junglewise.ai/threats/technologies/guzzlehttp-guzzle). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2026-69245 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-69245 being exploited in the wild.

**How severe is CVE-2026-69245?** Medium severity, with a CVSS score of 6.5, published 3 August 2026.

**Which products and versions are affected?** guzzlehttp/guzzle (Packagist) ECOSYSTEM:introduced=0,fixed=7.15.2.

**Is there a fix for CVE-2026-69245?** Yes. guzzlehttp/guzzle (Packagist): upgrade to 7.15.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-69245 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-69245?** Check whether you run guzzlehttp/guzzle (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- guzzlehttp/guzzle (Packagist): upgrade to 7.15.2 or later

  ```sh
  composer require guzzlehttp/guzzle:^7.15.2
  ```


## Technical details

The `SetCookie::matchesDomain()` function fails to recognize noncanonical IP address representations (such as hexadecimal `0x7f000001` or percent-encoded `127.0.0.%31`) as IP literals. Because Guzzle treats these as registered domain names rather than fixed IP addresses, it applies suffix-based subdomain matching rules. An attacker controlling a host that ends in one of these strings (e.g., `evil.0x7f000001`) can receive cookies intended for the IP address or set cookies that the client will replay to the IP address. This bypasses the security boundary intended for IP-based origins. The issue is fixed in versions 7.15.2 and 8.0.1 by enforcing exact matches for domains containing percent signs or hexadecimal/octal parts.

## Affected products

- GuzzleHttp guzzle < 7.15.2, 8.0.0

## Identifiers

- CVE-2026-69245
- GHSA-f7vp-7xgx-4w4r

## Timeline

- 2026-07-26: disclosed
- 2026-08-03: advisory: GitHub Advisory published
- 2026-08-03: patched

## References

- [https://api.github.com/users/GrahamCampbell](https://api.github.com/users/GrahamCampbell)
- [https://github.com/GrahamCampbell](https://github.com/GrahamCampbell)
- [https://api.github.com/users/GrahamCampbell/gists%7B/gist_id%7D](https://api.github.com/users/GrahamCampbell/gists%7B/gist_id%7D)
- [https://api.github.com/users/GrahamCampbell/repos](https://api.github.com/users/GrahamCampbell/repos)
- [https://avatars.githubusercontent.com/u/2829600?v=4](https://avatars.githubusercontent.com/u/2829600?v=4)
- [https://api.github.com/users/GrahamCampbell/events%7B/privacy%7D](https://api.github.com/users/GrahamCampbell/events%7B/privacy%7D)

## Related threats

- [Guzzle noncanonical host bypass in URI handlers](https://junglewise.ai/threats/cve-2026-69246-guzzle-noncanonical-host-bypass-in-uri-handlers)
- [Guzzle GuzzleHTTP host-only cookie scope disclosure](https://junglewise.ai/threats/guzzle-guzzlehttp-host-only-cookie-scope-disclosure-958db8d5)
- [Guzzle information disclosure in RedirectMiddleware Referer headers](https://junglewise.ai/threats/guzzle-information-disclosure-in-redirectmiddleware-referer-headers-d2e711b6)
- [Guzzle unbounded response cookies denial of service in CookieJar](https://junglewise.ai/threats/guzzle-unbounded-response-cookies-denial-of-service-in-cookiejar-f650c2bc)
- [Guzzle Proxy-Authorization header disclosure to origin servers](https://junglewise.ai/threats/guzzle-proxy-authorization-header-disclosure-to-origin-servers-7a8a6575)
