Home / guzzle / guzzle / CVE-2022-29248
CVE-2022-29248: is it exploited, and which versions of guzzle are affected and fixed?
CVE-2022-29248 is an information disclosure vulnerability in guzzle. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: guzzlehttp/guzzle before 6.5.6 and guzzlehttp/guzzle from 7.0.0 before 7.4.3 (GitHub advisory GHSA-cwmx-hcrq-mhc3). Fixed in 6.5.6 and 7.4.3 (GitHub advisory GHSA-cwmx-hcrq-mhc3). Severity: High (8.0, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:48 UTC.
What is CVE-2022-29248?
Cross-domain cookie leakage in Guzzle
Guzzle is a PHP HTTP client. Guzzle prior to versions 6.5.6 and 7.4.3 contains a vulnerability with the cookie middleware. The vulnerability is that it is not checked if the cookie domain equals the domain of the server which sets the cookie via the Set-Cookie header, allowing a malicious server to set cookies for unrelated domains. The cookie middleware is disabled by default, so most library consumers will not be affected by this issue. Only those who manually add the cookie middleware to the handler stack or construct the client with ['cookies' => true] are affected. Moreover, those who do not use the same Guzzle client to call multiple domains and have disabled redirect forwarding are not affected by this vulnerability. Guzzle versions 6.5.6 and 7.4.3 contain a patch for this issue. As a workaround, turn off the cookie middleware.
From the CVE record by GitHub_M, last updated April 23, 2025, 18:21 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| guzzle | guzzle | < 6.5.6 >= 7.0.0, < 7.4.3 |
As the CVE record by GitHub_M states it, last updated April 23, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | guzzlehttp/guzzle | < 6.5.6 | 6.5.6 | GHSA-cwmx-hcrq-mhc3 |
| Packagist | guzzlehttp/guzzle | >= 7.0.0, < 7.4.3 | 7.4.3 | GHSA-cwmx-hcrq-mhc3 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 20, 2022. Summary: Cross-domain cookie leakage in Guzzle.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| guzzlephp | guzzle | before 6.5.6 | application |
| guzzlephp | guzzle | from 7.0.0 before 7.4.3 | application |
| drupal | drupal | from 9.2.0 before 9.2.20 | application |
| drupal | drupal | from 9.3.0 before 9.3.14 | application |
| debian | debian linux | 11.0 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 04:39 UTC.
How severe is CVE-2022-29248?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.0 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N | GitHub_M |
| High 8.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N | NVD |
| Medium 5.8 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-29248 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, April 23, 2025)
- EPSS
- 1.35% probability of exploitation activity in the next 30 days, percentile 72.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
- CWE-565 Reliance on Cookies without Validation and Integrity Checking
Where are the vendor advisories and references?
- https://github.com/guzzle/guzzle/security/advisories/GHSA-cwmx-hcrq-mhc3
- https://github.com/guzzle/guzzle/pull/3018
- https://github.com/guzzle/guzzle/commit/74a8602c6faec9ef74b7a9391ac82c5e65b1cdab
- https://www.drupal.org/sa-core-2022-010
- DSA-5246 vendor-advisory
When was it published, and where is the official record?
- Reserved
- April 13, 2022
- Published
- May 25, 2022, 00:00 UTC
- CVE record updated
- April 23, 2025, 18:21 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 04:39 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:48 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect guzzle?
- Aug 3, 2026CVE-2026-69246 guzzle: incorrect Behavior Order: Validate Before Canonicalize
- Aug 3, 2026CVE-2026-69245 guzzle: incorrect Behavior Order: Validate Before Canonicalize
- Aug 1, 2026CVE-2026-67354 guzzle: information disclosure in sent data
- Aug 1, 2026CVE-2026-67355 guzzle: information disclosure in sent data
- Aug 1, 2026CVE-2026-67353 guzzle: denial of service (resources allocated without limits)
- Aug 1, 2026CVE-2026-67339 guzzle: information disclosure
- Jul 8, 2026CVE-2026-59883 guzzle: origin not validated
- Jun 23, 2026CVE-2026-55767 guzzle: origin not validated
Questions about CVE-2022-29248
Is CVE-2022-29248 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 1.35% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of guzzle are affected by CVE-2022-29248?
guzzlehttp/guzzle before 6.5.6 and guzzlehttp/guzzle from 7.0.0 before 7.4.3, per the GitHub advisory GHSA-cwmx-hcrq-mhc3. The tables above give every range the sources list.
Which version fixes CVE-2022-29248?
6.5.6 and 7.4.3, per the GitHub advisory GHSA-cwmx-hcrq-mhc3. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-29248?
High (8.0, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2022-29248?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.