CVE-2026-69245
Received Received - Intake

Cookie Domain Spoofing in Guzzle HTTP Client

Vulnerability report for CVE-2026-69245, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-03

Last updated on: 2026-08-03

Assigner: GitHub, Inc.

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-03
Last Modified
2026-08-03
Generated
2026-08-04
AI Q&A
2026-08-04
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
guzzle guzzle to 7.15.2 (exc)
guzzle guzzle to 8.0.1 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-384 Authenticating a user, or otherwise establishing a new user session, without invalidating any existing session identifier gives an attacker the opportunity to steal authenticated sessions.
CWE-180 The product validates input before it is canonicalized, which prevents the product from detecting data that becomes invalid after the canonicalization step.
CWE-346 The product does not properly verify that the source of data or communication is valid.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in Guzzle, a PHP HTTP client, involves improper handling of cookie domains. It allows cookies meant for one domain to be sent to or set by look-alike domains, such as those using hexadecimal or mixed-base IP representations (e.g., 0x7f000001). This could lead to session tokens or sensitive data being exposed to unintended hosts.

Detection Guidance

This vulnerability affects Guzzle PHP HTTP client versions before 7.15.2 and 8.0.1. To detect it, check the installed Guzzle version using composer show guzzlehttp/guzzle. If the version is below 7.15.2 or 8.0.1, the system is vulnerable.

Impact Analysis

If you use an affected version of Guzzle with cookie support enabled, an attacker could exploit this to intercept session tokens or sensitive data by tricking your application into sending cookies to a malicious host that mimics a trusted domain. This could lead to unauthorized access or data breaches.

Compliance Impact

This vulnerability could lead to unauthorized data exposure, potentially violating GDPR's data protection requirements or HIPAA's safeguards for protected health information. Organizations using affected Guzzle versions may face compliance risks if exploited.

Mitigation Strategies

Upgrade Guzzle to version 7.15.2 or 8.0.1 or later to address the vulnerability in SetCookie::matchesDomain().

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-69245. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart