Guzzle: Prior to 7.15.2 and 8.0.1, SetCookie::matchesDomain() gives every subdomain of a cookie Domain that cookie unless SetCookie::matchesDomain()… (CVE-2026-69245)
Guzzle versions prior to 7.15.2 and 8.0.1 contain a vulnerability in the SetCookie::matchesDomain() function where cookies are incorrectly matched to every subdomain of a cookie Domain. This occurs because certain domain spellings, such as hexadecimal or mixed-base IP literals, are not recognized properly, causing cookies to be sent to unintended subdomains. This can lead to session identifiers or tokens being disclosed to malicious hosts with look-alike domain names. The issue is fixed in versions 7.15.2 and 8.0.1.
AI Analysis
Technical Summary
Guzzle, a PHP HTTP client, has a vulnerability in SetCookie::matchesDomain() prior to versions 7.15.2 and 8.0.1. The function incorrectly grants cookie scope to all subdomains of a cookie Domain unless the Domain is recognized as an IP literal or numeric host. However, certain IP address spellings (e.g., hexadecimal 0x7f000001 or mixed-base 0177.0.0.0x1) are not recognized as numeric hosts, unlike libcurl which correctly interprets them. This causes cookies set for such domains to be sent to subdomains that mimic these spellings, potentially leaking session tokens or allowing session fixation by malicious servers. Exploitation requires the application to enable cookie support and interact with hosts using these specific domain spellings. The vulnerability is resolved in Guzzle versions 7.15.2 and 8.0.1.
Potential Impact
An attacker controlling a subdomain with a look-alike domain name (e.g., evil.0x7f000001) can receive cookies intended for the legitimate domain, potentially disclosing session identifiers or tokens. This can lead to session hijacking or fixation. The vulnerability affects confidentiality and integrity of session data but does not impact availability. Exploitation requires specific domain spellings and enabled cookie support in the application.
Mitigation Recommendations
This vulnerability is fixed in Guzzle versions 7.15.2 and 8.0.1. Users should upgrade to at least these versions to remediate the issue. No other specific mitigations are indicated by the vendor advisory.
Guzzle: Prior to 7.15.2 and 8.0.1, SetCookie::matchesDomain() gives every subdomain of a cookie Domain that cookie unless SetCookie::matchesDomain()… (CVE-2026-69245)
Description
Guzzle versions prior to 7.15.2 and 8.0.1 contain a vulnerability in the SetCookie::matchesDomain() function where cookies are incorrectly matched to every subdomain of a cookie Domain. This occurs because certain domain spellings, such as hexadecimal or mixed-base IP literals, are not recognized properly, causing cookies to be sent to unintended subdomains. This can lead to session identifiers or tokens being disclosed to malicious hosts with look-alike domain names. The issue is fixed in versions 7.15.2 and 8.0.1.
CVSS v3.1
Score 6.5medium
Affected software
pkg:deb/ubuntu/guzzle?arch=source&distro=noblepkg:deb/ubuntu/guzzle?arch=source&distro=resoluteRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Guzzle, a PHP HTTP client, has a vulnerability in SetCookie::matchesDomain() prior to versions 7.15.2 and 8.0.1. The function incorrectly grants cookie scope to all subdomains of a cookie Domain unless the Domain is recognized as an IP literal or numeric host. However, certain IP address spellings (e.g., hexadecimal 0x7f000001 or mixed-base 0177.0.0.0x1) are not recognized as numeric hosts, unlike libcurl which correctly interprets them. This causes cookies set for such domains to be sent to subdomains that mimic these spellings, potentially leaking session tokens or allowing session fixation by malicious servers. Exploitation requires the application to enable cookie support and interact with hosts using these specific domain spellings. The vulnerability is resolved in Guzzle versions 7.15.2 and 8.0.1.
Potential Impact
An attacker controlling a subdomain with a look-alike domain name (e.g., evil.0x7f000001) can receive cookies intended for the legitimate domain, potentially disclosing session identifiers or tokens. This can lead to session hijacking or fixation. The vulnerability affects confidentiality and integrity of session data but does not impact availability. Exploitation requires specific domain spellings and enabled cookie support in the application.
Mitigation Recommendations
This vulnerability is fixed in Guzzle versions 7.15.2 and 8.0.1. Users should upgrade to at least these versions to remediate the issue. No other specific mitigations are indicated by the vendor advisory.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- UBUNTU-CVE-2026-69245
- Osv Schema Version
- 1.7.0
- Aliases
- []
- Ecosystems
- ["Ubuntu:24.04:LTS","Ubuntu:26.04:LTS"]
- Database Specific Severity
- null
- Cvss Version
- 3.1
Threat ID: 6a74cfb1bf8831d5391b26a9
Added to database: 08/06/2026, 18:17:21 UTC
Last enriched: 08/06/2026, 19:40:25 UTC
Last updated: 08/07/2026, 01:23:59 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.