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.
Affected products
cakephp: cakephp
References10
- github.com/cakephp/authentication/security/advisories/GHSA-hhpq… Vendor Advisory
- github.com/cakephp/authentication/commit/1c1e29c7e8129cfbcae745… Patch
- github.com/cakephp/authentication/commit/df28ea4e712f1e5bd0e42b… Patch
- github.com/cakephp/authentication/commit/ee24bd48b9c3ef693dc996… Patch
- github.com/cakephp/authentication/pull/795 Issue TrackingPatch
- github.com/cakephp/authentication/pull/796 Issue TrackingPatch
- github.com/cakephp/authentication/pull/799 Issue TrackingPatch
- github.com/cakephp/authentication/releases/tag/2.11.1 Release Notes
- github.com/cakephp/authentication/releases/tag/3.3.6 Release Notes
- github.com/cakephp/authentication/releases/tag/4.1.1 Release Notes
Metrics
- CVSS 3.1
-
6.1
MEDIUM
Score source: NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - CVSS 4.0
-
5.1
MEDIUM
Score source: CNA
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - EPSS — exploit probability
- 0% percentile: 43 · as of 15 November 2026
- CWE
- CWE-601
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.