GitHub Advisoryadvisory · Packagist
GHSA-hhpq-7wg4-36jm CakePHP Authentication: Open redirect weakness via backslash bypass
MEDIUM
Official page ↗
- Aliases
- CVE-2026-55590
- Ecosystem
- Packagist
- Packages
- cakephp/authentication
- Severity
- Moderate
- 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
- Weaknesses
- CWE-601
- Reviewed
- 2026-06-17
Affected packages
• Packagist cakephp/authentication: >= 3.0.0, < 3.3.6 → fixed in 3.3.6
• Packagist cakephp/authentication: >= 4.0.0, < 4.1.1 → fixed in 4.1.1
• Packagist cakephp/authentication: < 2.11.1 → fixed in 2.11.1
Description
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.
Related
Alias · CVE (1)
- CVE-2026-55590 CakePHP Authentication is an authentication plugin for CakePHP that can also be used in PSR-7 based applications. vulnerability
Weakness · CWE (1)
- CWE-601 URL Redirection to Untrusted Site weakness
References
- https://github.com/cakephp/authentication/security/advisories/GHSA-hhpq-7wg4-36jm web
- https://nvd.nist.gov/vuln/detail/CVE-2026-55590 advisory
- https://github.com/cakephp/authentication/pull/795 web
- https://github.com/cakephp/authentication/pull/796 web
- https://github.com/cakephp/authentication/pull/799 web
- https://github.com/cakephp/authentication/commit/1c1e29c7e8129cfbcae74558316ecd3ea50a8273 web
- https://github.com/cakephp/authentication/commit/df28ea4e712f1e5bd0e42be4a3c5c750ca50764d web
- https://github.com/cakephp/authentication/commit/ee24bd48b9c3ef693dc9965de8f0cc8020a7052c web
- https://github.com/cakephp/authentication package
- https://github.com/cakephp/authentication/releases/tag/2.11.1 web
- https://github.com/cakephp/authentication/releases/tag/3.3.6 web
- https://github.com/cakephp/authentication/releases/tag/4.1.1 web