CakePHP Authentication: Open redirect weakness via backslash bypass
Impact
The getLoginRedirect() method contains a weakness to backslash bypasses allowing redirect targets with attacker controlled hostnames.
Patches
2.11.1, 3.3.6 and 4.1.1 contain a fix for this issue.
Workarounds
If you are unable to upgrade, you should consider adding application validation to the redirect query string parameter to mitigate this vulnerability.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | cakephp/authentication | >= 3.0.0, < 3.3.6, >= 4.0.0, < 4.1.1, < 2.11.1 | 3.3.6, 4.1.1, 2.11.1 |
References
- https://github.com/cakephp/authentication/security/advisories/GHSA-hhpq-7wg4-36jm
- https://nvd.nist.gov/vuln/detail/CVE-2026-55590
- https://github.com/cakephp/authentication/pull/795
- https://github.com/cakephp/authentication/pull/796
- https://github.com/cakephp/authentication/pull/799
- https://github.com/cakephp/authentication/commit/1c1e29c7e8129cfbcae74558316ecd3ea50a8273
- https://github.com/cakephp/authentication/commit/df28ea4e712f1e5bd0e42be4a3c5c750ca50764d
- https://github.com/cakephp/authentication/commit/ee24bd48b9c3ef693dc9965de8f0cc8020a7052c
- https://github.com/cakephp/authentication
- https://github.com/cakephp/authentication/releases/tag/2.11.1
- https://github.com/cakephp/authentication/releases/tag/3.3.6
- https://github.com/cakephp/authentication/releases/tag/4.1.1
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N- Weakness (CWE)
CWE-601- Platform
- Composer
- Package
cakephp/authentication- Disclosed
- 17.06.2026
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-hhpq-7wg4-36jm - CC BY 4.0
Vulnerability history: cakephp/authentication
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.