ADVISORIES

GitHub Advisory Database

GHSA-hhpq-7wg4-36jm

CakePHP Authentication: Open redirect weakness via backslash bypass

Moderate CVE-2026-55590

Details

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.

Affected packages

EcosystemPackageAffected versions
Packagistcakephp/authentication
From 3.0.0 before 3.3.6 (fixed in 3.3.6)
Packagistcakephp/authentication
From 4.0.0 before 4.1.1 (fixed in 4.1.1)
Packagistcakephp/authentication
All versions before 2.11.1 (fixed in 2.11.1)

References