CVE-2026-77337

9.1

cakephp · authentication

The CakePHP Authentication plugin is vulnerable to authentication bypass and resource exhaustion due to the use of forgeable legacy tokens in the CookieAuthenticator.

Executive summary

A critical authentication bypass vulnerability in the CakePHP Authentication plugin allows attackers to spoof identities and potentially cause denial of service conditions.

Vulnerability

The CookieAuthenticator uses unencrypted and forgeable legacy tokens, which allows unauthenticated attackers to bypass authentication mechanisms. The flaw also exposes the application to resource exhaustion through improper handling of these tokens.

Business impact

The ability to bypass authentication mechanisms poses a catastrophic risk to application security, as it allows attackers to impersonate legitimate users or administrators. With a CVSS score of 9.1, this vulnerability threatens the entire integrity of the user management system, potentially leading to unauthorized data access and system instability.

Remediation

Immediate Action: Upgrade to CakePHP Authentication versions 2.11.2, 3.3.7, or 4.2.1 depending on the current branch in use.

Proactive Monitoring: Review authentication logs for anomalous login patterns or spikes in memory and CPU usage that could indicate attempts to exploit the token handling logic.

Compensating Controls: Implement strict rate limiting on authentication endpoints and ensure that any legacy token support is disabled if not strictly required for business operations.

Exploitation status

Public Exploit Available: Unknown.

Analyst recommendation

Given the critical nature of an authentication bypass, organizations must treat this update with the highest urgency. Applying the provided patches is the only reliable way to secure the authentication flow against identity spoofing and resource exhaustion.

More cakephp CVEs