Authentication Bypass Vulnerability in CakePHP Authentication Plugin

cakephp Updated 26 Aug 2026

Summary

24/08/2026
N/A
No i
Unrated
Not published

DEBIAN-CVE-2026-77337: CakePHP Authentication is an authentication plugin for CakePHP that can also be used in PSR-7 based applications. Affects cakephp versions 2.10.11-2.1 – 2.10.24-2. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

CakePHP is a popular open-source web application framework that follows the MVC (Model-View-Controller) architectural pattern. The CakePHP Authentication plugin provides a robust mechanism for managing user authentication in CakePHP applications and can also be utilized in PSR-7 based applications. This plugin is essential for ensuring secure user access and maintaining application integrity. However, certain versions of this plugin are vulnerable to an authentication bypass issue, which can lead to unauthorized access and potential resource exhaustion.

Vulnerability Detail

The vulnerability arises from the use of unencrypted, forgeable legacy tokens by the CookieAuthenticator in CakePHP Authentication. Versions prior to 2.11.2, as well as versions 3.0.0 through 3.3.6 and 4.0.0 through 4.2.0, are affected. This flaw allows attackers to bypass authentication mechanisms, which could lead to unauthorized access to sensitive data and potential CPU or memory exhaustion due to malicious requests. The issue is particularly severe as it compromises the fundamental security of applications relying on this plugin.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, consider disabling the CookieAuthenticator or switching to a different authentication method until the plugin can be updated. However, this may expose your application to other risks, so it is recommended to apply the patch as soon as possible.

Conclusion

The authentication bypass vulnerability in the CakePHP Authentication plugin poses a significant risk to applications using affected versions. It is crucial for developers and system administrators to update to the latest patched versions to mitigate this risk. Regular monitoring and vulnerability management practices, such as using tools like Vulert, can help maintain application security.

See every vulnerability recorded for cakephp →

Share this vulnerability

FAQ

Versions before 2.11.2, from 3.0.0 through 3.3.6, and from 4.0.0 through 4.2.0 are affected.

The vulnerability can lead to authentication bypass, allowing unauthorized access to applications, and can also result in CPU or memory exhaustion.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If an immediate update is not possible, consider disabling the CookieAuthenticator or switching to a different authentication method as a temporary measure.

More information can be found in the CVE database under CVE-2026-77337 and the official CakePHP documentation.

Related vulnerabilities

Recent vulnerabilities recorded for cakephp.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback