Zero Radar
← feed
CriticalVulnerabilityCVE-2026-119418updated 30 Oct 2026, 16:09 UTC

CakePHP: SQL injection via window frame values

Attackers can slip database commands into a web app built with CakePHP through certain input fields, letting them read or change data. Apps that pass user input into database window functions are at risk.

Official, 2 sources
SeverityCriticalCVSS 9.2 of 10
Being exploited?UnclearNo reports either way yet
Fix available?UnclearNo fixed version published in the sources yet
How sure is this?Official, 2 sourcesBacked by an official source

How the attack works simplified

  1. 1Attacker sends inputCrafted frame offset or direction value
  2. 2App forwards valueInput passed into OVER clause unchecked
  3. 3Query executesInjected SQL runs on database
  4. 4Data exposedRuns with connection's privileges
  5. ResultAttacker runs SQL on the database

What happened

CakePHP through 5.4.3 fails to validate frame offsets and directions passed to WindowExpression::range() and frame(), allowing SQL injection into the OVER clause.

Why it is dangerous: Successful injection runs SQL with the database connection's privileges, which can expose or alter stored data. Any app forwarding user input into these window functions is exposed.

Are you affected?

You are affected if you run CakePHP 5.4.3 or earlier and your application passes user-supplied values into WindowExpression::range() or frame() (window function OVER clauses).

CakePHP through 5.4.3

What to do

  1. Check whether your app passes user input into WindowExpression::range() or frame()
  2. Upgrade CakePHP to a version newer than 5.4.3 once a fixed release is confirmed in the advisory
  3. Until patched, validate and whitelist offset and direction values on the server side
  4. Limit the database account's privileges to reduce what an injection can reach

Timeline

  1. 30 Oct 2026, 12:16 UTC
    Publicly disclosed
  2. 30 Oct 2026, 12:16 UTC
    Reported by NVD · NVD
  3. 30 Oct 2026, 12:16 UTC
    Picked up by Zero Radar
  4. 30 Oct 2026, 16:09 UTC
    GitHub Advisory reported on it · GitHub Advisory

Sources 2 reports, oldest first

Official vendor, government CERT or advisory database

Technical details

ID
CVE-2026-119418 · GHSA-h3r5-88vp-3qm7
CVSS
9.2 / 10
EPSS
0.5% chance of exploitation within 30 days
Disclosed
30 Oct 2026, 12:16 UTC
On Zero Radar
30 Oct 2026, 12:16 UTC (0 min after disclosure)
Last change
30 Oct 2026, 16:09 UTC

The plain-language parts and the attack diagram were written by an AI model (anthropic/claude-haiku-5.5) from the sources above. Facts like versions, exploitation and dates come from the sources themselves. How Zero Radar works

CakePHP: SQL injection via window frame values · Zero Radar