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.
Affected products
guzzlephp: guzzle
References4
- github.com/guzzle/guzzle/security/advisories/GHSA-g446-98w2-8p5w MitigationVendor Advisory
- github.com/guzzle/guzzle/commit/b9944c161b12d9ee9c9334cfc5b9659… Patch
- github.com/guzzle/guzzle/pull/3694 Issue TrackingPatch
- github.com/guzzle/guzzle/releases/tag/7.12.3 Release Notes
Metrics
- CVSS 3.1
-
6.1
MEDIUM
Score source: NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - EPSS — exploit probability
- 0% percentile: 6 · as of 15 November 2026
- CWE
- CWE-346CWE-384
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.