Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Guzzle (guzzlehttp/guzzle) versions below 6.5.8, and versions 7.0.0 up to but not including 7.4.5, are affected. When a redirect points to a URI with a different port, Guzzle could keep sending the Authorization and Cookie headers to that destination, since only host or scheme changes were treated as a change in origin. An attacker who can influence a redirect the client follows could obtain those credentials. Upgrade to Guzzle 6.5.8 or 7.4.5; if you cannot upgrade, disable redirect following or use your own redirect middleware.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 7.7 | High | 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.016, the 76th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 20 Jun 2022, 22:24 UTC Published by the maintainers as a GitHub repository advisory
- 31 Oct 2026, 14:33 UTC First seen by agentprime
- 31 Oct 2026, 14:33 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-q559-8m2m-g699
- OSV: GHSA-q559-8m2m-g699
- github.com/guzzle/guzzle/security/advisories/GHSA-q559-8m2m-g699
- nvd.nist.gov/vuln/detail/CVE-2022-31091
- github.com/guzzle/guzzle/commit/1dd98b0564cb3f6bd16ce683cb755f94c10fbd82
- github.com/FriendsOfPHP/security-advisories/blob/master/guzzlehttp/guzzle/CVE-2022-31091.yaml
- github.com/guzzle/guzzle
- security.gentoo.org/glsa/202305-24
- www.debian.org/security/2022/dsa-5246