CVEMETERBack to radar
OFFICIAL RECORD · PHP packages

CVE-2022-29248

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 8 · high

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.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 1.351% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:25:55.090Z. Public exploit availability is not used to set this status.

CVSS 3.1 · 8 · published by GitHub_M
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
Assessment source · checked 2026-11-19T12:56:29.943Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T16:25:55.090ZCISA KEV
cvssverified2026-11-19T12:56:29.943ZCVE Program
epssverified2026-11-19T16:04:33.773ZFIRST EPSS
patchesverified2026-11-19T12:52:00.283ZOSV
affectedverified2026-11-19T12:56:29.943ZCVE Program
lifecycleverified2026-11-19T12:56:29.943ZCVE Program

Affected versions and configuration

guzzle guzzle; default status: unknown: < 6.5.6 [affected; scheme: unspecified]; >= 7.0.0, < 7.4.3 [affected; scheme: unspecified]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "guzzle",
      "product": "guzzle",
      "versions": [
        {
          "status": "affected",
          "version": "< 6.5.6"
        },
        {
          "status": "affected",
          "version": ">= 7.0.0, < 7.4.3"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CVE Program Container",
      "references": [
        {
          "url": "https://github.com/guzzle/guzzle/security/advisories/GHSA-cwmx-hcrq-mhc3",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://github.com/guzzle/guzzle/pull/3018",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://github.com/guzzle/guzzle/commit/74a8602c6faec9ef74b7a9391ac82c5e65b1cdab",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://www.drupal.org/sa-core-2022-010",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://www.debian.org/security/2022/dsa-5246",
          "name": "DSA-5246",
          "tags": [
            "vendor-advisory",
            "x_transferred"
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "af854a3a-2127-422b-91ae-364da2661108",
        "shortName": "CVE",
        "dateUpdated": "2024-08-03T06:17:54.465Z"
      }
    },
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2022-29248",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "no"
                },
                {
                  "Technical Impact": "total"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2025-04-23T15:52:51.158271Z"
            }
          }
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2025-04-23T18:21:56.089Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GHSA-cwmx-hcrq-mhc3",
  "aliases": [
    "BIT-drupal-2022-29248",
    "CVE-2022-29248",
    "DRUPAL-CORE-2022-010"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6.5.6"
            }
          ]
        }
      ],
      "package": {
        "name": "guzzlehttp/guzzle",
        "purl": "pkg:composer/guzzlehttp/guzzle",
        "ecosystem": "Packagist"
      },
      "versions": [
        "4.0.0",
        "4.0.0-rc.1",
        "4.0.0-rc.2",
        "4.0.1",
        "4.0.2",
        "4.1.0",
        "4.1.1",
        "4.1.2",
        "4.1.3",
        "4.1.4",
        "4.1.5",
        "4.1.6",
        "4.1.7",
        "4.1.8",
        "4.2.0",
        "4.2.1",
        "4.2.2",
        "4.2.3",
        "4.2.4",
        "5.0.0",
        "5.0.1",
        "5.0.2",
        "5.0.3",
        "5.1.0",
        "5.2.0",
        "5.3.0",
        "5.3.1",
        "5.3.2",
        "5.3.3",
        "5.3.4",
        "6.0.0",
        "6.0.1",
        "6.0.2",
        "6.1.0",
        "6.1.1",
        "6.2.0",
        "6.2.1",
        "6.2.2",
        "6.2.3",
        "6.3.0",
        "6.3.1",
        "6.3.2",
        "6.3.3",
        "6.4.0",
        "6.4.1",
        "6.5.0",
        "6.5.1",
        "6.5.2",
        "6.5.3",
        "6.5.4",
        "6.5.5",
        "v1.0.3",
        "v1.0.4",
        "v2.0.0",
        "v2.0.1",
        "v2.0.2",
        "v2.0.3",
        "v2.0.4",
        "v2.0.5",
        "v2.1.0",
        "v2.1.1",
        "v2.1.2",
        "v2.1.3",
        "v2.1.4",
        "v2.2.0",
        "v2.2.1",
        "v2.2.2",
        "v2.2.3",
        "v2.2.4",
        "v2.3.2",
        "v2.4.0",
        "v2.4.1",
        "v2.5.0",
        "v2.6.0",
        "v2.6.1",
        "v2.6.2",
        "v2.6.3",
        "v2.6.4",
        "v2.6.5",
        "v2.6.6",
        "v2.7.0",
        "v2.7.1",
        "v2.7.2",
        "v2.8.0",
        "v2.8.1",
        "v2.8.2",
        "v2.8.3",
        "v2.8.4",
        "v2.8.5",
        "v2.8.6",
        "v2.8.7",
        "v2.8.8",
        "v3.0.0",
        "v3.0.1",
        "v3.0.2",
        "v3.0.3",
        "v3.0.4",
        "v3.0.5",
        "v3.0.6",
        "v3.0.7",
        "v3.1.0",
        "v3.1.1",
        "v3.1.2",
        "v3.2.0",
        "v3.3.0",
        "v3.3.1",
        "v3.4.0",
        "v3.4.1",
        "v3.4.2",
        "v3.4.3",
        "v3.5.0",
        "v3.6.0",
        "v3.7.0",
        "v3.7.1",
        "v3.7.2",
        "v3.7.3",
        "v3.7.4",
        "v3.8.0",
        "v3.8.1"
      ],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-cwmx-hcrq-mhc3/GHSA-cwmx-hcrq-mhc3.json"
      }
    },
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "7.0.0"
            },
            {
              "fixed": "7.4.3"
            }
          ]
        }
      ],
      "package": {
        "name": "guzzlehttp/guzzle",
        "purl": "pkg:composer/guzzlehttp/guzzle",
        "ecosystem": "Packagist"
      },
      "versions": [
        "7.0.0",
        "7.0.1",
        "7.1.0",
        "7.1.1",
        "7.2.0",
        "7.3.0",
        "7.4.0",
        "7.4.1",
        "7.4.2"
      ],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-cwmx-hcrq-mhc3/GHSA-cwmx-hcrq-mhc3.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://github.com/guzzle/guzzle/security/advisories/GHSA-cwmx-hcrq-mhc3",
      "type": "WEB"
    },
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-29248",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/guzzle/guzzle/pull/3018",
      "type": "WEB"
    },
    {
      "url": "https://github.com/guzzle/guzzle/commit/74a8602c6faec9ef74b7a9391ac82c5e65b1cdab",
      "type": "WEB"
    },
    {
      "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/guzzlehttp/guzzle/CVE-2022-29248.yaml",
      "type": "WEB"
    },
    {
      "url": "https://github.com/guzzle/guzzle",
      "type": "PACKAGE"
    },
    {
      "url": "https://www.debian.org/security/2022/dsa-5246",
      "type": "WEB"
    },
    {
      "url": "https://www.drupal.org/sa-core-2022-010",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-200",
      "CWE-565"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "nvd_published_at": "2022-05-25T18:15:00Z",
    "github_reviewed_at": "2022-05-25T18:09:55Z"
  }
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundaryPackagist / packageguzzlehttp/guzzleNot a distribution channel6.5.6Official record
ecosystem-boundaryPackagist / packageguzzlehttp/guzzleNot a distribution channel7.4.3Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history