CVE-2026-119416
MEDIUM
NVD
CVSS Score
4.8
Severity
MEDIUM
Published
Oct 30, 2026
Vendor
unknown
Description
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.
References
- https://abraxaslabs.tech/research/cakephp-cookie-suffix
- https://github.com/cakephp/cakephp
- 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://github.com/cakephp/cakephp/commit/01753266738606bc0e48e61e44a6e252f11386f9