CVE-2026-69245
MediumCVSS 6.5Exploitation Probability (EPSS)
Low risk3th percentile - higher than 3% of all known CVEs
Summary
Guzzle prior to versions 7.15.2 and 8.0.1 contains a vulnerability in the SetCookie::matchesDomain() method that incorrectly recognizes domains in hexadecimal or mixed-base forms (e.g., 0x7f000001) as IP addresses. Cookies set for such domains may be sent to other hosts, leading to disclosure of session identifiers or tokens.
Risk Assessment
An attacker can intercept session cookies or authentication tokens by impersonating an IP address using an alternative spelling, enabling session hijacking or application state manipulation.
Recommendation
Upgrade Guzzle to version 7.15.2 or 8.0.1, which fix this vulnerability.
Other vulnerabilities in Guzzle
See all- CVE-2026-145603Medium
Guzzle before 7.16.5 and 8.5.4 contains a proxy bypass vulnerability in its built-in cURL handlers, which pass malformed proxy URLs to libcurl unvalidated. Proxy URLs with percent-encoded control characters, multiple @ signs, or empty hosts make certain libcurl releases silently drop the proxy, sending requests directly or to another host and evading proxy filtering and logging.
- CVE-2026-145096Low
Guzzle before 7.16.3 and 8.5.2 contains an information disclosure vulnerability that allows proxies or origin servers to receive URI fragments because StreamHandler passes unstripped URIs to fopen(). When the http.request_fulluri stream_context option is enabled, attackers operating the proxy or receiving server can capture fragment secrets such as one-time login tokens, access tokens, or state values.
- CVE-2026-145047Medium
Guzzle (guzzlehttp/guzzle) before 7.16.3 accepts bracketed request URI hosts that are not IP literals, such as [127.0.0.1]:6379], while PHP's stream transport connects to the host and port inside and after the brackets, regardless of what Uri::getHost() and Uri::getPort() report. Attackers who influence a fetched URI or redirect target can bypass application host and port checks, causing StreamHandler to reach excluded loopback hosts or ports for server-side request forgery.
- CVE-2026-69246High
Guzzle, an extensible PHP HTTP client, prior to versions 7.15.2 and 8.0.1, has a vulnerability due to discrepancy between Guzzle's URI parsing and libcurl's. An attacker influencing the request URI can bypass application checks and access hosts that should be blocked. Fixed in versions 7.15.2 and 8.0.1.
- CVE-2026-59883Medium
In the Guzzle PHP HTTP client library prior to version 7.12.3, a vulnerability was found in the CookieJar class. The SetCookie::matchesDomain() method incorrectly handled IP addresses (e.g., 192.168.0.1, [::1]) and bare numeric values as domains by applying ordinary suffix matching, allowing cross-host cookie disclosure, cookie injection, or session fixation.
Original NVD description (English source)
Guzzle is an extensible PHP HTTP client. Prior to 7.15.2 and 8.0.1, SetCookie::matchesDomain() gives every subdomain of a cookie Domain that cookie unless SetCookie::matchesDomain() recognizes the Domain as an IP literal or a numeric host, and the decision comes from the domain's own text, so two spellings a transport reads as an address keep subdomain scope. Hexadecimal and mixed-base forms such as 0x7f000001 and 0177.0.0.0x1 go unrecognized while libcurl 8.21.0 reads both as 127.0.0.1. A percent-escaped Domain keeps that scope on both branches because percent-decoding sits above numeric parsing, so 192.168.0.%31 and 127.0.0.1%2e are registered names in the URI grammar rather than address literals, and no numeric rule in any base classifies them, while libcurl decodes the host before resolving and reads them as 192.168.0.1 and 127.0.0.1. A cookie stored for Domain=0x7f000001 is placed in the Cookie header of a request to evil.0x7f000001, disclosing a session identifier or token to a host that is not that address, and a response from evil.0x7f000001 setting Domain=0x7f000001 is accepted into the jar and replayed to the address, so a server answering for the look-alike name can fix a session or set application state. Exploitation requires the application to enable cookie support, address an origin by one of these spellings, and contact a host whose name ends in that spelling. This issue is fixed in versions 7.15.2 and 8.0.1.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

