Medium severity · published Jun 23, 2026
CVE-2026-55767
Guzzle: Dot-Only Cookie Domains Match All Hosts in guzzlehttp/guzzle
5.8
CVSS
0.2%
EPSS
No
On KEV
Description
Guzzle is an extensible PHP HTTP client. Prior to 7.12.1, CookieJar incorrectly accepts cookies with a dot-only Domain attribute and whitespace-padded variants. SetCookie::matchesDomain() removes leading dots from the cookie domain, normalizing dot-only values to the empty string; SetCookie::validate() only rejected a strictly empty domain, so these cookies could be stored and the empty normalized domain was treated as matching any request host. An attacker-controlled origin that an application requests with a shared cookie jar can therefore set a cookie that Guzzle later sends to unrelated hosts using the same jar. This may allow cookie injection or session fixation against downstream services, depending on how those services interpret the injected cookie. This vulnerability is fixed in 7.12.1.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 11% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GU
guzzle · guzzle
< 7.12.1 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-55767
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-55767
github.com
https://github.com/FriendsOfPHP/security-advisories/blob/master/guzzlehttp/guzzle/CVE-2026-55767.yaml
github.com
https://github.com/guzzle/guzzle/commit/7f537cded1912349abf5081258d6db19106d774d
github.com
https://github.com/guzzle/guzzle/pull/3653
github.com
https://github.com/guzzle/guzzle/releases/tag/7.12.1
Third Party Advisory
https://github.com/guzzle/guzzle/security/advisories/GHSA-cwxw-98qj-8qjx
More from guzzle
7.2
CVE-2026-69246
Guzzle: Noncanonical host can bypass host-based checks
6.5
CVE-2026-69245
Guzzle: Noncanonical cookie domain keeps subdomain scope
6.1
CVE-2026-59883
Guzzle: Cookie Disclosure and Injection via IP-Address Domains
5.9
CVE-2026-67354
guzzlehttp/guzzle before 7.15.1 URI Fragment Disclosure via Referer
5.9
CVE-2026-67355
guzzlehttp/guzzle before 7.15.1 Host-only Cookie Scope
