CVE-2026-55590: CakePHP Authentication Open Redirect Weakness Vulnerability

MODERATE
Advisory Identifier: GHSA-hhpq-7wg4-36jm
CWE-601
Published
Advisory Summary

CVE-2026-55590 is a MODERATE open redirect weakness vulnerability (CWE-601: URL Redirection to Untrusted Site ('Open Redirect')) affecting CakePHP Authentication libraries in the Packagist ecosystem. The issue involves open redirect weakness via backslash bypass. Remediation is available by upgrading affected packages to version 3.3.6, 4.1.1, 2.11.1.

CVE-2026-55590 at a Glance

CVE Identifier CVE-2026-55590
GHSA Identifier GHSA-hhpq-7wg4-36jm
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
Affected Product CakePHP Authentication
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix CVE-2026-55590

To remediate this vulnerability, upgrade all affected CakePHP Authentication dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

cakephp/authentication fixed: 3.3.6
Upgrade cakephp/authentication to 3.3.6
cakephp/authentication fixed: 4.1.1
Upgrade cakephp/authentication to 4.1.1
cakephp/authentication fixed: 2.11.1
Upgrade cakephp/authentication to 2.11.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for cakephp/authentication

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-55590, inspect your project dependencies for CakePHP Authentication:

inspect dependencies for cakephp/authentication

Analyze the terminal output to locate any version of CakePHP Authentication in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.3.6), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect'), where the web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect. In CakePHP Authentication, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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.

CVE-2026-55590 Affected CakePHP Authentication Versions

3 component(s)
Fixed Versions:
3.3.64.1.12.11.1
Product / Package Ecosystem Affected Versions Fixed Version
cakephp/authentication
Packagist
≥ 3.0.0
< 3.3.6
3.3.6
cakephp/authentication
Packagist
≥ 4.0.0
< 4.1.1
4.1.1
cakephp/authentication
Packagist
< 2.11.1
2.11.1

References

Frequently Asked Questions

What is CVE-2026-55590?
CVE-2026-55590 is a security vulnerability in CakePHP Authentication involving Open redirect weakness via backslash bypass under CWE-601: URL Redirection to Untrusted Site ('Open Redirect').
Which CakePHP Authentication versions are affected?
Affected versions include releases prior to 3.3.6, 4.1.1, 2.11.1 across affected packages: cakephp/authentication.
What version fixes CVE-2026-55590?
Upgrading to 3.3.6, 4.1.1, 2.11.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is cakephp/authentication affected?
Yes, cakephp/authentication is affected in releases prior to 3.3.6, 4.1.1, 2.11.1. Upgrade your dependency to 3.3.6, 4.1.1, 2.11.1 or later.
What CWE is associated with CVE-2026-55590?
CVE-2026-55590 is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect') (The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.).
How can I check Packagist dependencies for CVE-2026-55590?
Run the dependency tree command: 'inspect dependencies for cakephp/authentication'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-hhpq-7wg4-36jm",
  "modified" : "2026-08-14T18:35:48Z",
  "published" : "2026-06-17T18:52:09Z",
  "aliases" : [ "CVE-2026-55590" ],
  "summary" : "CakePHP Authentication: Open redirect weakness via backslash bypass",
  "details" : "### Impact\nThe `getLoginRedirect()` method contains a weakness to backslash bypasses allowing redirect targets with attacker controlled hostnames.\n\n### Patches\n2.11.1, 3.3.6 and 4.1.1 contain a fix for this issue.\n\n### Workarounds\nIf you are unable to upgrade, you should consider adding application validation to the redirect query string parameter to mitigate this vulnerability.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "cakephp/authentication"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "3.3.6"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "cakephp/authentication"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0"
      }, {
        "fixed" : "4.1.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "cakephp/authentication"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.11.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/cakephp/authentication/security/advisories/GHSA-hhpq-7wg4-36jm"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-55590"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/cakephp/authentication/pull/795"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/cakephp/authentication/pull/796"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/cakephp/authentication/pull/799"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/cakephp/authentication/commit/1c1e29c7e8129cfbcae74558316ecd3ea50a8273"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/cakephp/authentication/commit/df28ea4e712f1e5bd0e42be4a3c5c750ca50764d"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/cakephp/authentication/commit/ee24bd48b9c3ef693dc9965de8f0cc8020a7052c"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/cakephp/authentication"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/cakephp/authentication/releases/tag/2.11.1"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/cakephp/authentication/releases/tag/3.3.6"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/cakephp/authentication/releases/tag/4.1.1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-601" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-06-17T18:52:09Z",
    "nvd_published_at" : "2026-07-09T19:17:06Z"
  }
}