← Back to search

CVE-2026-119418

8.1 HIGHpublic exploit available

Published 2026-10-30 · Updated 2026-10-30

AI risk analysis

Summary
A SQL injection flaw in CakePHP's WindowExpression::range() and frame() methods allows unauthenticated attackers to inject arbitrary SQL by providing unsanitized frame offsets and directions through user-controlled input forwarded to the OVER clause.
Exploitability
Exploitation requires high skill due to the need to craft precise SQL payloads targeting the window function syntax, but no authentication or user interaction is needed.
Blast radius
Successful exploitation grants attackers full database access with the application's database credentials, enabling data exfiltration, modification, or deletion.
Detection
Look for SQL syntax anomalies in database logs where OVER clauses contain non-integer or unexpected string values in frame specifications (e.g., RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW || ' OR 1=1 --'), especially when originating from user-facing endpoints.
Prioritized remediation
Upgrade to CakePHP 5.4.4 or later, which patches the vulnerability in WindowExpression::range() and frame().
sql-injectionweb-frameworkdatabasehigh-severity

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

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

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CWE-89

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.