Description
CakePHP Authentication is an authentication plugin for CakePHP that can also be used in PSR-7 based applications. Prior to 2.11.1, 3.3.6, and 4.1.1, the getLoginRedirect() method contains a weakness to backslash bypasses that allows redirect targets with attacker-controlled hostnames through the redirect query string parameter. This issue is fixed in versions 2.11.1, 3.3.6, and 4.1.1.
Metrics
CVSS 3.1 6.1/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| cakephp | authentication | < 2.11.1; >= 3.0.0, < 3.3.6; >= 4.0.0, < 4.1.1 |
References
- https://github.com/cakephp/authentication/commit/1c1e29c7e8129cfbcae74558316ecd3ea50a8273Patch
- https://github.com/cakephp/authentication/commit/df28ea4e712f1e5bd0e42be4a3c5c750ca50764dPatch
- https://github.com/cakephp/authentication/commit/ee24bd48b9c3ef693dc9965de8f0cc8020a7052cPatch
- https://github.com/cakephp/authentication/pull/795Issue Tracking, Patch
- https://github.com/cakephp/authentication/pull/796Issue Tracking, Patch
- https://github.com/cakephp/authentication/pull/799Issue Tracking, Patch
- https://github.com/cakephp/authentication/releases/tag/2.11.1Release Notes
- https://github.com/cakephp/authentication/releases/tag/3.3.6Release Notes
- https://github.com/cakephp/authentication/releases/tag/4.1.1Release Notes
- https://github.com/cakephp/authentication/security/advisories/GHSA-hhpq-7wg4-36jmVendor Advisory
Timeline
- Published
- Jul 9, 2026
- Last modified
- Oct 25, 2026
- NVD status
- Analyzed