Read the docs

Cookie leakage in CakePHP HTTP client cookie domain matching

Priority MEDIUM 61CWE-346Published · Updated

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

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00175 6th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

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

VendorProductAffected versionsFixed inStatusSource
cakephpcakephpup to 5.4.3—No fix listedCNA
  • cakephp Vendorcakephp Affected up to 5.4.3 Fixed in — No fix listed CNA

Remediation

The sources list no fixed version for CakePHP.

Written with Claude Haiku 5.5 from the sources below · 2026-11-05

Timeline

  1. 2026-10-30 Threatist record created from CVE-2026-119416
  2. 2026-10-30 Alias added: GHSA-g3vg-xwg9-qrvh
  3. 2026-11-01 Priority changed: MEDIUM → LOW
  4. 2026-11-05 CISA SSVC decision points changed
  5. 2026-11-05 Priority changed: LOW → MEDIUM

References

  • 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
See all 22 →

Sources