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.
| Severity | CriticalCVSS 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
- 1Attacker sends inputCrafted frame offset or direction value
- 2App forwards valueInput passed into OVER clause unchecked
- 3Query executesInjected SQL runs on database
- 4Data exposedRuns with connection's privileges
- 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.
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
- Check whether your app passes user input into WindowExpression::range() or frame()
- Upgrade CakePHP to a version newer than 5.4.3 once a fixed release is confirmed in the advisory
- Until patched, validate and whitelist offset and direction values on the server side
- Limit the database account's privileges to reduce what an injection can reach
Timeline
- 30 Oct 2026, 12:16 UTCPublicly disclosed
- 30 Oct 2026, 12:16 UTCReported by NVD · NVD
- 30 Oct 2026, 12:16 UTCPicked up by Zero Radar
- 30 Oct 2026, 16:09 UTCGitHub Advisory reported on it · GitHub Advisory
Sources 2 reports, oldest first
Official vendor, government CERT or advisory database
- CVE-2026-119418NVD · 30 Oct 2026, 12:16 UTC
- CakePHP through 5.4.3 contains an sql injection vulnerability that allows attackers to inject SQL...GitHub Advisory · 30 Oct 2026, 12:31 UTC
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