Advisory

GHSA-hhpq-7wg4-36jm

Also known as: CVE-2026-55590

Summary

CakePHP Authentication: Open redirect weakness via backslash bypass

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-06-17 18:52 UTC
Modified
2026-08-14 18:45 UTC

Affected packages and fixes

cakephp/authentication

Packagist · All systems

Affected

  • introduced 3.0.0, fixed 3.3.6 (ecosystem)

Fixed versions

3.3.6

Fix

The export has no generic command for this ecosystem.

cakephp/authentication

Packagist · All systems

Affected

  • introduced 4.0.0, fixed 4.1.1 (ecosystem)

Fixed versions

4.1.1

Fix

The export has no generic command for this ecosystem.

cakephp/authentication

Packagist · All systems

Affected

  • introduced 0, fixed 2.11.1 (ecosystem)

Fixed versions

2.11.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences