{"uuid": "90e28d30-59d9-441d-b444-ee9d84772479", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2026-59883", "type": "seen", "source": "https://gist.github.com/alon710/afd4e223ed1d8cf62007fc8baac9d771", "content": "# CVE-2026-59883: CVE-2026-59883: Cookie Disclosure and Injection via IP-Address Domains in Guzzle HTTP Client\n\n&gt; **CVSS Score:** 4.7\n&gt; **Published:** 2026-07-20\n&gt; **Full Report:** https://cvereports.com/reports/CVE-2026-59883\n\n## Summary\nGuzzle HTTP Client prior to version 7.12.3 contains a logical flaw in its CookieJar component. The client fails to properly validate the host types of stored cookie domain attributes before applying standard suffix-matching logic. As a consequence, sensitive session cookies scoped to an IP address (e.g., 192.168.0.1) can be leaked to malicious, look-alike hostnames (e.g., evil.192.168.0.1). This vulnerability permits cross-host cookie disclosure, cookie injection, and session fixation attacks.\n\n## TL;DR\nGuzzle HTTP Client before version 7.12.3 incorrectly applies suffix matching to cookie domains scoped to literal IP addresses, allowing sensitive cookies to be leaked to unauthorized look-alike subdomains.\n\n## Technical Details\n\n- **CWE ID**: CWE-346 (Origin Validation Error)\n- **Attack Vector**: Network\n- **CVSS v3.1**: 4.7\n- **EPSS Score**: 0.00115\n- **Impact**: Cross-Host Cookie Disclosure / Injection\n- **Exploit Status**: none\n- **CISA KEV Status**: Not Listed\n\n## Affected Systems\n\n- Guzzle HTTP Client (PHP Package: guzzlehttp/guzzle)\n- **guzzlehttp/guzzle**: &lt; 7.12.3 (Fixed in: `7.12.3`)\n\n## Mitigation\n\n- Upgrade Guzzle HTTP Client to version 7.12.3 or later\n- Disable CookieJar middleware when making requests targeting raw IP addresses\n- Implement a custom PSR-7 middleware to strip the domain attribute from Set-Cookie headers targeting raw IP addresses\n\n**Remediation Steps:**\n1. Open a terminal in your project root containing the Composer configuration.\n2. Execute the command: composer update guzzlehttp/guzzle\n3. Verify the upgrade by executing: composer show guzzlehttp/guzzle\n4. Confirm the installed version is 7.12.3 or higher.\n\n## References\n\n- [GHSA-g446-98w2-8p5w: Cookie disclosure and injection via IP-address domains](https://github.com/guzzle/guzzle/security/advisories/GHSA-g446-98w2-8p5w)\n- [Guzzle Fix Commit](https://github.com/guzzle/guzzle/commit/b9944c161b12d9ee9c9334cfc5b9659ecd7451f8)\n- [Guzzle Pull Request 3694](https://github.com/guzzle/guzzle/pull/3694)\n- [Guzzle v7.12.3 Release Notes](https://github.com/guzzle/guzzle/releases/tag/7.12.3)\n- [NVD - CVE-2026-59883 Detail](https://nvd.nist.gov/vuln/detail/CVE-2026-59883)\n- [CVE.org - CVE-2026-59883](https://www.cve.org/CVERecord?id=CVE-2026-59883)\n- [Wiz Vulnerability Database: CVE-2026-59883](https://www.wiz.io/vulnerability-database/cve/cve-2026-59883)\n\n\n---\n*Generated by [CVEReports](https://cvereports.com/reports/CVE-2026-59883) - Automated Vulnerability Intelligence*", "creation_timestamp": "2026-07-20T22:31:01.538383Z"}