Description
CakePHP Authentication is an authentication plugin for CakePHP that can also be used in PSR-7 based applications. Versions before 2.11.2, from 3.0.0 through 3.3.6, and from 4.0.0 through 4.2.0 allow authentication bypass and potential CPU or memory exhaustion when CookieAuthenticator uses unencrypted, forgeable legacy tokens. This issue is fixed in versions 2.11.2, 3.3.7, and 4.2.1.
Published: 2026-08-24
Score: 9.1 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Authentication bypass with potential resource exhaustion
Action: Apply Patch
AI Analysis

Impact

CakePHP Authentication allows user authentication via CookieAuthenticator. In versions prior to 2.11.2, 3.0.0-3.3.6, and 4.0.0-4.2.0, the plugin accepts unencrypted legacy tokens that can be forged. This flaw permits an attacker to bypass authentication, granting access to the application, and can also lead to CPU or memory exhaustion due to poorly validated token processing. The vulnerability is linked to CWE-290 (Improper Authentication) and CWE-770 (Resource Exhaustion).

Affected Systems

The affected product is the CakePHP Authentication plugin from the CakePHP community. Systems running CakePHP Framework that incorporate the authentication plugin versions listed above are impacted. This includes web applications built on PHP using CakePHP, as well as any PSR-7 compatible applications that integrate the plugin. Versions 2.11.2, 3.3.7, and 4.2.1 and later contain the fix.

Risk and Exploitability

The CVSS score of 9.1 indicates a critical severity. EPSS is not available, and the vulnerability is not currently listed in CISA KEV. Based on the description, the likely attack vector is through a crafted HTTP cookie sent to the application. An attacker could inject a forged cookie to achieve authentication bypass, and if the application processes numerous forged tokens, the attacker could also trigger excessive CPU or memory usage. Mitigation requires patching or reconfiguring the authentication token handling.

Generated by OpenCVE AI on August 24, 2026 at 22:30 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade CakePHP Authentication to version 2.11.2 or later (2.11.2, 3.3.7, 4.2.1).
  • Configure CookieAuthenticator to enforce encrypted, non-forgeable tokens and disable legacy token usage.
  • Validate and restrict cookie authentication mechanisms in all exposed HTTP endpoints.

Generated by OpenCVE AI on August 24, 2026 at 22:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 25 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 24 Aug 2026 22:45:00 +0000

Type Values Removed Values Added
First Time appeared Cakephp
Cakephp authentication
Vendors & Products Cakephp
Cakephp authentication

Mon, 24 Aug 2026 21:45:00 +0000

Type Values Removed Values Added
Description CakePHP Authentication is an authentication plugin for CakePHP that can also be used in PSR-7 based applications. Versions before 2.11.2, from 3.0.0 through 3.3.6, and from 4.0.0 through 4.2.0 allow authentication bypass and potential CPU or memory exhaustion when CookieAuthenticator uses unencrypted, forgeable legacy tokens. This issue is fixed in versions 2.11.2, 3.3.7, and 4.2.1.
Title CakePHP: Potential Authentication bypass with CookieAuthenticator
Weaknesses CWE-290
CWE-770
References
Metrics cvssV4_0

{'score': 9.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Cakephp Authentication
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-25T19:23:34.125Z

Reserved: 2026-08-20T19:24:11.618Z

Link: CVE-2026-77337

cve-icon Vulnrichment

Updated: 2026-08-25T18:32:38.169Z

cve-icon NVD

Status : Deferred

Published: 2026-08-24T22:17:19.510

Modified: 2026-09-09T21:07:31.353

Link: CVE-2026-77337

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-24T22:45:03Z

Weaknesses
  • CWE-290

    Authentication Bypass by Spoofing

  • CWE-770

    Allocation of Resources Without Limits or Throttling