CVE-2026-119418
8.1 HIGHpublic exploit availablePublished 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
- https://github.com/cakephp/cakephp
- https://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Database/Expression/WindowExpression.php#L152
- https://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Database/Expression/WindowExpression.php#L330
- https://github.com/cakephp/cakephp/commit/18de3e4cdabba049269421bf43c2ccd1a7451565
- https://github.com/cakephp/cakephp/commit/3c1183fb62274c8a1c2780b2d3cc40f40cf31f1f
- https://github.com/cakephp/cakephp/commit/a5ca1748dcdb432631fc2760f898576043ce3df9
- https://github.com/cakephp/cakephp/pull/19735
All references
- https://abraxaslabs.tech/research/cakephp-window-sqli
- https://github.com/cakephp/cakephp
- https://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Database/Expression/WindowExpression.php#L152
- https://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Database/Expression/WindowExpression.php#L330
- https://github.com/cakephp/cakephp/commit/18de3e4cdabba049269421bf43c2ccd1a7451565
- https://github.com/cakephp/cakephp/commit/3c1183fb62274c8a1c2780b2d3cc40f40cf31f1f
- https://github.com/cakephp/cakephp/commit/a5ca1748dcdb432631fc2760f898576043ce3df9
- https://github.com/cakephp/cakephp/pull/19735
- https://www.vulncheck.com/advisories/cakephp-through-5.4.3-sql-injection-via-windowexpression-range-and-frame
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- HIGHCVE-2015-20122
- HIGHCVE-2026-100644PoC
- HIGHCVE-2026-100683PoC
- HIGHCVE-2026-102796
- HIGHCVE-2026-103253PoC
- HIGHCVE-2026-105076
- CRITICALCVE-2026-105889
- CRITICALCVE-2026-107083PoC
Related by shared AI tags and CWE weakness class. Browse the full archive.