Vulnerability advisory
CVE-2026-59883
Guzzle: Cookie Disclosure and Injection via IP-Address Domains
Also known as GHSA-g446-98w2-8p5w
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/guzzle/guzzle ↗ | |
| All commits before 9aa17bcdd777ee31df9fc83c337ca4ca2340def3 | 9aa17bcdd777ee31df9fc83c337ca4ca2340def3 |
| Not specified | b9944c161b12d9ee9c9334cfc5b9659ecd7451f8 |
Also listed as affected (143)
| |
Description
Guzzle is an extensible PHP HTTP client. Prior to 7.12.3, CookieJar did not restrict cookies scoped to IP-address or bare-numeric Domain values to the exact host that set them, because SetCookie::matchesDomain() applied ordinary suffix matching to domains such as 192.168.0.1, [::1], or 1, allowing cross-host cookie disclosure, cookie injection, or session fixation. This issue is fixed in version 7.12.3.
References
- Webgithub.com/guzzle/guzzle/releases/tag/7.12.3 ↗
- Advisorygithub.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59883.json ↗
- Advisorygithub.com/guzzle/guzzle/security/advisories/GHSA-g446-98w2-8p5w ↗
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-59883 ↗
- Fixgithub.com/guzzle/guzzle/commit/b9944c161b12d9ee9c9334cfc5b9659ecd7451f8 ↗
- Fixgithub.com/guzzle/guzzle/pull/3694 ↗