Skip to main content
← All vulnerabilities
CVE-2026-119418EUVD-2026-113798GHSA-H3R5-88VP-3QM7

CakePHP through 5.4.3 SQL Injection via WindowExpression range() and frame()

Affects CakePHP through 5.4.3 when unvalidated user-controlled values reach WindowExpression range() or frame() offsets or directions, or the OVER clause. The fix is backported to the 5.3 and 5.2 branches.

Published
Last modified
published
Not listed in CISA KEV
Unclear
Fix
Fix or patch referenced
None on Exploit-DB, Metasploit or GitHub
On X
View the cve.now post
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

CakePHP, a PHP web framework, is affected when applications pass unvalidated user input into the window frame settings (range() and frame()) of its query builder. An attacker could exploit this to inject arbitrary SQL and run it with the database account's privileges, potentially reading, modifying, or deleting data.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original 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.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. Posted on X by cve.now
  4. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  5. Record last updated

Affected versions

  • cakephp cakephp

    through 5.4.3

References 9

GitHub · cakephp/cakephp

abraxaslabs.tech

vulncheck.com

FAQ

Questions about CVE-2026-119418

What does this mean?

CakePHP's WindowExpression range() and frame() methods contain an SQL injection flaw. If an application passes unvalidated user-controlled data into their offsets, directions, or the OVER clause, that data can be injected into SQL queries.Source: github.com

Am I affected, and how do I check?

CakePHP versions through 5.4.3 are affected. The fix was backported to the 5.3 and 5.2 branches. The setup that matters is an application that passes user-controlled values into WindowExpression range() or frame() offsets or directions, or into the OVER clause; check your CakePHP version in composer.lock or with composer show cakephp/cakephp, and check your code for those calls.Source: github.com

What should I do about it?

Upgrade to a CakePHP release that includes the backported fix on your branch, either 5.3 or 5.2. The available facts do not give the exact patched version numbers, so check the advisory for them. Validate or whitelist any user input before it reaches these methods.Source: github.com

Is it being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.Source: cve.now feed data