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.
Fix
Patch, vendor advisory and mitigation references on NVD 7
- https://github.com/cakephp/authentication/commit/1c1e29c7e8129cfbcae74558316ecd3ea50a8273 Patch
- https://github.com/cakephp/authentication/commit/df28ea4e712f1e5bd0e42be4a3c5c750ca50764d Patch
- https://github.com/cakephp/authentication/commit/ee24bd48b9c3ef693dc9965de8f0cc8020a7052c Patch
- https://github.com/cakephp/authentication/pull/795 Issue Tracking, Patch
- https://github.com/cakephp/authentication/pull/796 Issue Tracking, Patch
- https://github.com/cakephp/authentication/pull/799 Issue Tracking, Patch
- https://github.com/cakephp/authentication/security/advisories/GHSA-hhpq-7wg4-36jm Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 5.1 · cakephpNVD modified 2026-10-25 17:10
Affected (CPE criteria) 1
cpe:2.3:a:cakephp:cakephp:*:*:*:*:*:*:*:*
References 10
- https://github.com/cakephp/authentication/commit/1c1e29c7e8129cfbcae74558316ecd3ea50a8273 Patch
- https://github.com/cakephp/authentication/commit/df28ea4e712f1e5bd0e42be4a3c5c750ca50764d Patch
- https://github.com/cakephp/authentication/commit/ee24bd48b9c3ef693dc9965de8f0cc8020a7052c Patch
- https://github.com/cakephp/authentication/pull/795 Issue Tracking, Patch
- https://github.com/cakephp/authentication/pull/796 Issue Tracking, Patch
- https://github.com/cakephp/authentication/pull/799 Issue Tracking, Patch
- https://github.com/cakephp/authentication/releases/tag/2.11.1 Release Notes
- https://github.com/cakephp/authentication/releases/tag/3.3.6 Release Notes
- https://github.com/cakephp/authentication/releases/tag/4.1.1 Release Notes
- https://github.com/cakephp/authentication/security/advisories/GHSA-hhpq-7wg4-36jm Vendor Advisory