CVE-2026-55767
Guzzle is an extensible PHP HTTP client. Prior to 7.12.1, CookieJar …
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 now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/guzzle/guzzle/security/advisories/GHSA-cwxw-98qj-8qjx
- github.com/advisories/GHSA-cwxw-98qj-8qjx
- nvd.nist.gov/vuln/detail/CVE-2026-55767
- github.com/guzzle/guzzle/pull/3653
- github.com/guzzle/guzzle/commit/7f537cded1912349abf5081258d6db19106d774d
- github.com/FriendsOfPHP/security-advisories/blob/master/guzzlehttp/guzzle/CVE-2026-55767.y
- github.com/guzzle/guzzle/releases/tag/7.12.1
- nvd.nist.gov/vuln/detail/CVE-2026-55767
- cve.org/CVERecord?id=CVE-2026-55767
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.