CVEscakephpCVE-2026-119416Published Oct 30, 11:30 · Updated Oct 30, 11:30 UTC
4.8
MediumCVSS 3.1 · from VulnCheck
CVE-2026-119416

CakePHP through 5.4.3 Cookie Leakage via HTTP Client CookieCollection Domain Matching

cakephp · CWE-346 · CWE-346
Affectedcakephp
FixA patch is linked in the references.
PublishedOct 30, 11:30 · VulnCheck
ScoredOct 30 · 4.8 · VulnCheck
Exploit code publicNone known · checked 21:18 UTC
ExploitedNone known · CISA KEV checked 22:09 UTC

What we know

No known exploitation. CISA KEV, checked 22:09 UTC.
No public exploit code known. Exploit-DB, Metasploit, Nuclei, checked 21:18 UTC.
An attacker only needs network access to the target. No login needed. CVSS: network, no privileges.
It only works under certain conditions, which makes it harder to pull off. CVSS: high attack complexity.

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.

From VulnCheck

Affected and fixed versions

ProductAffectedFixed incakephpup to 5.4.3–

Exploit code

Exploit-DBnone knownMetasploitnone knownNucleinone known

References

github.com/cakephp/cakephp/commit/01753266738606bc0e48e61e44a6e252f11386f9 · github.compatchgithub.com/cakephp/cakephp/commit/5d9d01a91f0e678d857a94115de12c3e02f3fbba · github.compatchgithub.com/cakephp/cakephp/commit/bbba5ed06d5cea7e78333b01e65557cff7a28306 · github.compatchgithub.com/cakephp/cakephp/commit/819b45cbcc5ba864568cb57f62e4fde650b41161 · github.compatchgithub.com/cakephp/cakephp/pull/19702 · github.compatchissue trackinggithub.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Http/Cookie/CookieCollection.php#L315 · github.comtechnical descriptiongithub.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Http/Cookie/CookieCollection.php#L74 · github.comtechnical descriptionabraxaslabs.tech/research/cakephp-cookie-suffix · abraxaslabs.techthird party advisorygithub.com/cakephp/cakephp · github.comproductVulnCheck Advisory: CakePHP through 5.4.3 Cookie Leakage via HTTP Client CookieCollection Domain Matching · vulncheck.comthird party advisory

Other CVEs in cakephp

All 10 →
8.1CakePHP through 5.4.3 SQL Injection via StringExpression and IdentifierExpression Collation · CVE-2026-119419Oct 308.1CakePHP through 5.4.3 SQL Injection via WindowExpression range() and frame() · CVE-2026-119418Oct 303.7CakePHP through 5.4.3 Email Header Injection via Bare CR/LF in SmtpTransport and MailTransport · CVE-2026-119417Oct 30