Advisory record · GHSA-q559-8m2m-g699

Change in port should be considered a change in origin

CVSS 7.7 HighEPSS 0.016 · 76th percentile

Published by the GitHub Advisory Database at 21 Jun 2022, 20:07 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
guzzlehttp/guzzlePackagist<6.5.8 || >=7.0.0, <7.4.56.5.8, 7.4.5
Identifiers
GHSA-q559-8m2m-g699 · CVE-2022-31091 · PKSA-yfw5-9gnj-n2c7
Weakness (CWE)
CWE-200
Published
21 Jun 2022
Updated
8 Nov 2023

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.

Written 5 Nov 2026.

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

ScoreRatingCVSSVectorSource
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

  1. 20 Jun 2022, 22:24 UTC Published by the maintainers as a GitHub repository advisory
  2. 31 Oct 2026, 14:33 UTC First seen by agentprime
  3. 31 Oct 2026, 14:33 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.