Skip to content
OpenAdvisories
Medium · 5.8 CVE-2026-55767 EUVD-2026-38457GHSA-cwxw-98qj-8qjx

Guzzle: Dot-Only Cookie Domains Match All Hosts in guzzlehttp/guzzle

Published Jun 23, 2026 · Updated Aug 5, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
guzzle guzzle < 7.12.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 guzzle 7.12.1-1 —
Debian 13 guzzle No fix yet —
Debian 12 guzzle No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 guzzle No fix yet —
Ubuntu 26.04 LTS guzzle No fix yet —
Ubuntu 25.10 guzzle No fix yet —
Ubuntu 24.04 LTS guzzle No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling nextcloud-server-33 33.0.5-r3 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist guzzlehttp/guzzle < 7.12.1 7.12.1 GHSA-cwxw-98qj-8qjx

References