Skip to content
OpenAdvisories
Medium · 5.1 CVE-2026-55590 EUVD-2026-42674GHSA-hhpq-7wg4-36jm

CakePHP: Open redirect weakness via backslash bypass

Published Jul 9, 2026 · Updated Jul 9, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
cakephp authentication < 2.11.1, >= 3.0.0, < 3.3.6, >= 4.0.0, < 4.1.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist cakephp/authentication >= 3.0.0, < 3.3.6 3.3.6 GHSA-hhpq-7wg4-36jm
Packagist cakephp/authentication >= 4.0.0, < 4.1.1 4.1.1 GHSA-hhpq-7wg4-36jm
Packagist cakephp/authentication < 2.11.1 2.11.1 GHSA-hhpq-7wg4-36jm

References