CVE-2026-55767
published medium CVSS 3.1 · 5.8Guzzle: Dot-Only Cookie Domains Match All Hosts in guzzlehttp/guzzle
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| guzzle | — | guzzle< 7.12.1 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.8 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| guzzle | guzzle | < 7.12.1 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-346 CWE-346: Origin Validation Error
- CWE-1286 CWE-1286: Improper Validation of Syntactic Correctness of Input
References
5- https://github.com/FriendsOfPHP/security-advisories/blob/master/guzzlehttp/guzzle/CVE-2026-55767.yaml
- https://github.com/guzzle/guzzle/commit/7f537cded1912349abf5081258d6db19106d774d
- https://github.com/guzzle/guzzle/pull/3653
- https://github.com/guzzle/guzzle/releases/tag/7.12.1
- https://github.com/guzzle/guzzle/security/advisories/GHSA-cwxw-98qj-8qjx
Provider assertions
2GitHub_M · cna
Guzzle: Dot-Only Cookie Domains Match All Hosts in guzzlehttp/guzzle
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f42adcb1f41b8776f8742af4c1f081b2110ec855d5990e9f52c511893b2711c8
- Ingested
- 23 Sep 2026, 09:21:01 UTC
- Source record
- Official CVE record