CVE-2026-55767Guzzle: Dot-Only Cookie Domains Match All Hosts in guzzlehttp/guzzle
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.
What to do
Fixed builds are available from Debian, Packagist: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | guzzle | Fix pending | UBUNTU-CVE-2026-55767 | |
| Ubuntu 26.04 | guzzle | Under investigation | UBUNTU-CVE-2026-55767 | |
| Ubuntu 25.10 | guzzle | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-55767 | |
| Ubuntu 24.04 | guzzle | Under investigation | UBUNTU-CVE-2026-55767 | |
| Debian 14 | guzzle | Fixed | 7.12.1-1 | DEBIAN-CVE-2026-55767 |
| Debian 13 | guzzle | Fix pending | DEBIAN-CVE-2026-55767 | |
| Debian 12 | guzzle | Fix pending | DEBIAN-CVE-2026-55767 | |
| Packagist library | guzzlehttp/guzzle | Fixed | 7.12.1 | GHSA-cwxw-98qj-8qjx |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- guzzle: affected: < 7.12.1
References
- https://github.com/guzzle/guzzle/security/advisories/GHSA-cwxw-98qj-8qjx
- https://github.com/guzzle/guzzle/pull/3653
- https://github.com/guzzle/guzzle/commit/7f537cded1912349abf5081258d6db19106d774d
- https://github.com/FriendsOfPHP/security-advisories/blob/master/guzzlehttp/guzzle/CVE-2026-55767.yaml
- https://github.com/guzzle/guzzle/releases/tag/7.12.1
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.