Cookie leakage in CakePHP HTTP client cookie domain matching
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-346.
Summary
CakePHP through 5.4.3 is affected. Its Http Client CookieCollection performs improper cookie domain validation because it uses unanchored suffix matching (CWE-346). A malicious server controlling a host ending in a victim domain suffix, or sending Set-Cookie Domain values for unrelated hosts, can receive and plant cookies, steal session cookies, or inject cookies into shared client cookie jars.
Written with Claude Haiku 5.5 from the sources below · 2026-11-05
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
The sources list no fixed version for CakePHP.
Written with Claude Haiku 5.5 from the sources below · 2026-11-05
Timeline
- 2026-10-30 Threatist record created from CVE-2026-119416
- 2026-10-30 Alias added: GHSA-g3vg-xwg9-qrvh
- 2026-11-01 Priority changed: MEDIUM → LOW
- 2026-11-05 CISA SSVC decision points changed
- 2026-11-05 Priority changed: LOW → MEDIUM
References
Patch 5
- 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
More cakephp vulnerabilities
- TI-2010-04068 The _validatePost function in libs/controller/components/security.php in CakePHP 1.3.x… CVSS 2.0HIGH 7.5
- TI-2026-19037 CakePHP PaginatorHelper::limitControl() vulnerable to reflected cross-site-scripting CVSS 3.1MEDIUM 5.4
- TI-2023-08901 Database Query::offset() and limit() vulnerable to SQL injection in cakephp CVSS 3.1CRITICAL 9.8
- TI-2026-54106 CakePHP: FunctionsBuilder::jsonValue() vulerable to SQL injection with PostgresDriver CVSS 4.0CRITICAL 9.2
- TI-2026-55232 CakePHP: Multiple methods in FunctionsBuilder vulnerable to SQL injection CVSS 4.0CRITICAL 9.2
- TI-2026-82998 SQL injection in CakePHP via unvalidated collation names CVSS 4.0CRITICAL 9.2
Sources
- CVE-2026-119416 · CVE Program
- CVE-2026-119416 · NVD
- FIRST EPSS
- GHSA-g3vg-xwg9-qrvh · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences