Description
CakePHP through 5.4.3 contains an sql injection vulnerability that allows attackers to inject SQL by supplying unvalidated frame offsets and directions to WindowExpression::range() and frame(). Attackers can pass crafted values through applications forwarding user input into the OVER clause to execute SQL with the database connection's privileges.
Published: 2026-10-30
Score: 9.2 Critical
EPSS: n/a
KEV: No
Impact: SQL Injection
Action: Apply vendor patch
AI Analysis

Impact

CakePHP through version 5.4.3 contains a SQL injection flaw that allows an attacker to embed arbitrary SQL statements by providing unvalidated frame offsets and directions to the WindowExpression::range() and frame() methods. When an application forwards user input into the OVER clause of a query, the vulnerability permits execution of any SQL command with the privileges of the database connection, enabling data theft, modification, or denial of service within the database.

Affected Systems

The affected product is CakePHP, with all releases up to and including 5.4.3. Sites that rely on these versions and employ the WindowExpression::range() or frame() APIs in code paths that accept user control are vulnerable.

Risk and Exploitability

The CVSS score of 9.2 indicates a high severity, signifying a complete ability to impact confidentiality, integrity, and availability of the database. The EPSS score is not available, but the flaw is exploitable via standard web user input that reaches the affected methods, making a near‑future attack realistic. The vulnerability is not listed in CISA KEV, yet the lack of mitigation and the obvious attack surface raise the risk of exploitation by a motivated threat actor.

Generated by OpenCVE AI on October 30, 2026 at 12:50 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the vendor patch or upgrade to a version that includes the fixed WindowExpression code
  • Sanitize or restrict any user‑supplied frame offset and direction values before they are passed to WindowExpression::range() or frame()
  • If a patch is not immediately available, configure database connections to run with the least privileges necessary to limit the impact of any injected command

Generated by OpenCVE AI on October 30, 2026 at 12:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 30 Oct 2026 11:45:00 +0000

Type Values Removed Values Added
Description CakePHP through 5.4.3 contains an sql injection vulnerability that allows attackers to inject SQL by supplying unvalidated frame offsets and directions to WindowExpression::range() and frame(). Attackers can pass crafted values through applications forwarding user input into the OVER clause to execute SQL with the database connection's privileges.
Title CakePHP through 5.4.3 SQL Injection via WindowExpression range() and frame()
First Time appeared Cakephp
Cakephp cakephp
Weaknesses CWE-89
CPEs cpe:2.3:a:cakephp:cakephp:*:*:*:*:*:*:*:*
Vendors & Products Cakephp
Cakephp cakephp
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.2, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-30T11:30:50.158Z

Reserved: 2026-10-30T02:41:11.515Z

Link: CVE-2026-119418

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-30T12:16:38.390

Modified: 2026-10-30T12:16:38.390

Link: CVE-2026-119418

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-30T13:00:15Z

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')