CVE-2026-119416CakePHP through 5.4.3 Cookie Leakage via HTTP Client CookieCollection Domain Matching
CakePHP through 5.4.3 contains an improper cookie domain validation vulnerability in the Http Client CookieCollection that allows malicious servers to receive and plant cookies by abusing unanchored suffix matching. Attackers controlling a host such as one ending in a victim domain suffix, or sending Set-Cookie Domain values for unrelated hosts, can steal session cookies or inject cookies into shared client cookie jars.
What to do
Ubuntu has 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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | cakephp | Under investigation | UBUNTU-CVE-2026-119416 | |
| Ubuntu 20.04 | cakephp | Fix pending | UBUNTU-CVE-2026-119416 | |
| Ubuntu 16.04 | cakephp | Fix pending | UBUNTU-CVE-2026-119416 |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- cakephp: affected: up to 5.4.3
Vendor advisories:
- https://github.com/cakephp/cakephp/commit/01753266738606bc0e48e61e44a6e252f11386f9 (patch)
- https://github.com/cakephp/cakephp/commit/5d9d01a91f0e678d857a94115de12c3e02f3fbba (patch)
- https://github.com/cakephp/cakephp/commit/bbba5ed06d5cea7e78333b01e65557cff7a28306 (patch)
- https://github.com/cakephp/cakephp/commit/819b45cbcc5ba864568cb57f62e4fde650b41161 (patch)
- https://github.com/cakephp/cakephp/pull/19702 (patch)
References
- https://github.com/cakephp/cakephp/commit/01753266738606bc0e48e61e44a6e252f11386f9
- https://github.com/cakephp/cakephp/commit/5d9d01a91f0e678d857a94115de12c3e02f3fbba
- https://github.com/cakephp/cakephp/commit/bbba5ed06d5cea7e78333b01e65557cff7a28306
- https://github.com/cakephp/cakephp/commit/819b45cbcc5ba864568cb57f62e4fde650b41161
- https://github.com/cakephp/cakephp/pull/19702
- https://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Http/Cookie/CookieCollection.php#L315
- https://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Http/Cookie/CookieCollection.php#L74
- https://abraxaslabs.tech/research/cakephp-cookie-suffix
- https://github.com/cakephp/cakephp
- https://www.vulncheck.com/advisories/cakephp-through-5.4.3-cookie-leakage-via-http-client-cookiecollection-domain-matching
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.