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.
Published: 2026-07-09
Score: 5.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The CakePHP Authentication plugin contains a weakness in its getLoginRedirect() method prior to versions 2.11.1, 3.3.6, and 4.1.1. An attacker can craft a redirect query string that includes backslashes to bypass host validation, allowing the application to redirect users to attacker-controlled hostnames. This flaw is a classic open-redirect vulnerability (CWE-601) that can be exploited for phishing, social engineering, or delivery of malware via deceptive URLs. While it does not directly compromise the application’s data or services, it erodes user trust and can serve as a foothold for downstream attacks.

Affected Systems

All releases of the CakePHP Authentication plugin prior to version 2.11.1 for CakePHP 2, 3.3.6 for CakePHP 3, and 4.1.1 for CakePHP 4 are affected. The vulnerability has been fixed in those release numbers and any later releases.

Risk and Exploitability

The CVSS score of 5.1 classifies the issue as medium severity, while the EPSS of less than 1 % suggests a low probability of exploitation. The vulnerability is not listed in CISA’s KEV catalog. The most likely attack vector involves an attacker embedding a crafted redirect parameter into a URL or link that a user is sent to, after which the victim’s browser is redirected to a malicious destination. Because the redirect occurs after user authentication, an attacker must gain access to a page or link that triggers the redirect, but the method requires no special privileges beyond user interaction.

Generated by OpenCVE AI on August 1, 2026 at 14:04 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade CakePHP Authentication to version 2.11.1, 3.3.6, 4.1.1, or a later release where the redirect validation has been corrected.
  • Add server-side validation to the redirect target to ensure it points to the same host or to a pre-approved whitelist of domains, rejecting any requests that do not satisfy these constraints.
  • If the redirect feature is not required for your application, disable it or remove the redirect query parameter entirely to eliminate the attack surface.

Generated by OpenCVE AI on August 1, 2026 at 14:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-hhpq-7wg4-36jm CakePHP Authentication: Open redirect weakness via backslash bypass
History

Fri, 10 Jul 2026 10:15:00 +0000

Type Values Removed Values Added
First Time appeared Cakephp
Cakephp authentication
Vendors & Products Cakephp
Cakephp authentication

Thu, 09 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 09 Jul 2026 19:15:00 +0000

Type Values Removed Values Added
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.
Title CakePHP: Open redirect weakness via backslash bypass
Weaknesses CWE-601
References
Metrics cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N'}


Subscriptions

Cakephp Authentication Cakephp
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-09T19:18:12.885Z

Reserved: 2026-06-16T23:18:03.170Z

Link: CVE-2026-55590

cve-icon Vulnrichment

Updated: 2026-07-09T19:18:08.745Z

cve-icon NVD

Status : Analyzed

Published: 2026-07-09T19:17:06.670

Modified: 2026-07-13T17:09:24.243

Link: CVE-2026-55590

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-01T14:15:03Z

Weaknesses
  • CWE-601

    URL Redirection to Untrusted Site ('Open Redirect')