# CVE-2026-55767: Guzzle: Dot-Only Cookie Domains Match All Hosts in guzzlehttp/guzzle

- Severity: Medium 5.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-06-19T14:37:29.000Z
- Modified: 2026-09-10T03:50:49.287Z
- Also known as: GHSA-cwxw-98qj-8qjx
- Weaknesses: CWE-346, CWE-1286
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- guzzle guzzle: < 7.12.1
- guzzlehttp/guzzle (Packagist): before 7.12.1
- guzzlephp guzzle: before 7.12.1

## Every score

- GitHub_M: CVSS:3.1 5.8 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N`
- GitHub: CVSS:3.1 5.8 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N`

## References

- <https://github.com/guzzle/guzzle/security/advisories/GHSA-cwxw-98qj-8qjx> (third-party-advisory, web)
- <https://github.com/guzzle/guzzle/pull/3653> (web)
- <https://github.com/guzzle/guzzle/commit/7f537cded1912349abf5081258d6db19106d774d> (web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/guzzlehttp/guzzle/CVE-2026-55767.yaml> (web)
- <https://github.com/guzzle/guzzle/releases/tag/7.12.1> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-55767> (advisory)
- <https://github.com/guzzle/guzzle> (package)

## Sources

- CVE List: [CVE-2026-55767](https://www.cve.org/CVERecord?id=CVE-2026-55767), CVE Terms of Use, modified 2026-08-05
- GitHub Advisory Database: [GHSA-cwxw-98qj-8qjx](https://github.com/advisories/GHSA-cwxw-98qj-8qjx), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-55767](https://nvd.nist.gov/vuln/detail/CVE-2026-55767), Public domain, modified 2026-08-05

---

Page: https://cve.day/CVE-2026-55767 · Whole record: https://cve.day/CVE-2026-55767.json · Rebuilt by cve.day 2026-11-25T22:59:25.467Z
