Intel

AIKIDO-2025-10005

cakephp/cakephp is vulnerable to Open Redirect

Open Redirect Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.

63

Medium Risk

This Affects:

phpcakephp/cakephp
3.0.0 - 4.5.8
Fixed in 4.5.9
5.0.0 - 5.1.2
Fixed in 5.1.4

TL;DR

Affected versions of this package are affected by Open redirect due to improper handling of encoded forward slashes (%2F) when reading request URIs. These paths may be misinterpreted as a single slash (/), resulting in unexpected routing behavior. This problem could potentially be exploited to create open redirect attacks, allowing an attacker to redirect users to malicious sites.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

cakephp/cakephp is vulnerable to Open Redirect in versions 5.0.0 - 5.1.2 and 3.0.0 - 4.5.8.

How to fix this

Upgrade the cakephp/cakephp library to the patch version.