CVEfocus › CVE database › CVE-2026-55767

CVE-2026-55767Guzzle: Dot-Only Cookie Domains Match All Hosts in guzzlehttp/guzzle

CVSS 5.8 MediumEPSS 0.2% (higher than 7% of CVEs)Published 2026-06-23Updated 2026-08-05Assigner: GitHub_M

Guzzle is an extensible PHP HTTP client. Prior to 7.12.1, CookieJar incorrectly accepts cookies with a dot-only Domain attribute and whitespace-padded variants. SetCookie::matchesDomain() removes leading dots from the cookie domain, normalizing dot-only values to the empty string; SetCookie::validate() only rejected a strictly empty domain, so these cookies could be stored and the empty normalized domain was treated as matching any request host. An attacker-controlled origin that an application requests with a shared cookie jar can therefore set a cookie that Guzzle later sends to unrelated hosts using the same jar. This may allow cookie injection or session fixation against downstream services, depending on how those services interpret the injected cookie. This vulnerability is fixed in 7.12.1.

CWE-1286CWE-346

What to do

Fixed builds are available from Debian, Packagist: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
3Fix pending
2Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10guzzleFix pendingUBUNTU-CVE-2026-55767
Ubuntu 26.04guzzleUnder investigationUBUNTU-CVE-2026-55767
Ubuntu 25.10guzzleWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-55767
Ubuntu 24.04guzzleUnder investigationUBUNTU-CVE-2026-55767
Debian 14guzzleFixed7.12.1-1DEBIAN-CVE-2026-55767
Debian 13guzzleFix pendingDEBIAN-CVE-2026-55767
Debian 12guzzleFix pendingDEBIAN-CVE-2026-55767
Packagist libraryguzzlehttp/guzzleFixed7.12.1GHSA-cwxw-98qj-8qjx

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.