5.1medium
CakePHP: Open redirect weakness via backslash bypass
- Severity
- 5.1medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.33% (higher than 28% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-hhpq-7wg4-36jm
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
| Product or package | Versions | Reported by |
|---|---|---|
| cakephp authentication | < 2.11.1, >= 3.0.0, < 3.3.6, >= 4.0.0, < 4.1.1 | CVE List |
| cakephp/authentication (Packagist) | from 3.0.0 before 3.3.6, from 4.0.0 before 4.1.1, before 2.11.1 | GitHub Advisory Database |
| cakephp cakephp | before 2.11.1, from 3.0.0 before 3.3.6, from 4.0.0 before 4.1.1 | NVD |
All scores
| GitHub_M | 5.1medium CVSS:4.0 | 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 |
| GitHub | medium CVSS:4.0 | 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 |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
CakePHP Authentication es un plugin de autenticación para CakePHP que también puede ser usado en aplicaciones basadas en PSR-7. Antes de las versiones 2.11.1, 3.3.6 y 4.1.1, el método getLoginRedirect() contiene una debilidad a las omisiones de barra invertida que permite objetivos de redirección con nombres de host controlados por el atacante a través del parámetro de cadena de consulta de redirección. Este problema está solucionado en las versiones 2.11.1, 3.3.6 y 4.1.1.
References
| https://github.com/cakephp/authentication/security/advisories/GHSA-hhpq-7wg4-36jm | vendor-advisory, web | |
| https://github.com/cakephp/authentication/pull/795 | issue-tracking, patch, web | |
| https://github.com/cakephp/authentication/pull/796 | issue-tracking, patch, web | |
| https://github.com/cakephp/authentication/pull/799 | issue-tracking, patch, web | |
| https://github.com/cakephp/authentication/commit/1c1e29c7e8129cfbcae74558316ecd3ea50a8273 | patch, web | |
| https://github.com/cakephp/authentication/commit/df28ea4e712f1e5bd0e42be4a3c5c750ca50764d | patch, web | |
| https://github.com/cakephp/authentication/commit/ee24bd48b9c3ef693dc9965de8f0cc8020a7052c | patch, web | |
| https://github.com/cakephp/authentication/releases/tag/2.11.1 | release-notes, web | |
| https://github.com/cakephp/authentication/releases/tag/3.3.6 | release-notes, web | |
| https://github.com/cakephp/authentication/releases/tag/4.1.1 | release-notes, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-55590 | advisory | |
| https://github.com/cakephp/authentication | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-55590 changed 2026-07-09 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-hhpq-7wg4-36jm changed 2026-08-14 | CC-BY-4.0 |
| NVD | CVE-2026-55590 changed 2026-10-25 | Public domain |