# CVE-2026-119418: CakePHP SQL injection in WindowExpression

Source: https://junglewise.ai/threats/cve-2026-119418-cakephp-through-5-4-3-contains-an-sql-injection-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-30. Updated: 2026-10-30  
License: CC BY 4.0 with a link back

CVE-2026-119418 · Severity: high · CVSS 8.1 · Published 2026-10-30

CakePHP is a web development framework for PHP that helps developers build applications rapidly. A SQL injection vulnerability in its WindowExpression component allows attackers to execute arbitrary SQL queries with database privileges by crafting malicious input in OVER clauses, potentially exposing or modifying database contents.

Technologies: [Cakephp](https://junglewise.ai/threats/technologies/cakephp). Vendors: [Cakephp](https://junglewise.ai/threats/vendors/cakephp).

## Quick answers

**Is CVE-2026-119418 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-119418 being exploited in the wild.

**How severe is CVE-2026-119418?** High severity, with a CVSS score of 8.1, published 30 October 2026.

**Which products and versions are affected?** Cakephp through 5.4.3.

**Is there a fix for CVE-2026-119418?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-119418 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-119418?** Check whether you run Cakephp at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

CakePHP through version 5.4.3 fails to validate frame offset and direction parameters passed to WindowExpression::range() and frame() methods. An attacker can inject SQL by forwarding unvalidated user input into OVER clauses, achieving SQL injection with the database connection's privileges. The vulnerability requires application-level exposure of user input to the vulnerable methods.

## Affected products

- CakePHP CakePHP through 5.4.3

## Timeline

- 2026-10-30: disclosed

## References

- [https://abraxaslabs.tech/research/cakephp-window-sqli](https://abraxaslabs.tech/research/cakephp-window-sqli)
- [https://github.com/cakephp/cakephp](https://github.com/cakephp/cakephp)

## Related threats

- [CakePHP SQL injection in collation handling](https://junglewise.ai/threats/cve-2026-119419-cakephp-through-5-4-3-contains-an-sql-injection-vulnerability)
- [CakePHP improper cookie domain validation in Http Client](https://junglewise.ai/threats/cve-2026-119416-cakephp-through-5-4-3-contains-an-improper-cookie-domain)
- [CakePHP CakeResponse download method header injection and XSS](https://junglewise.ai/threats/cve-2026-106512-the-cakeresponse-download-method-in-lib-cake-network)
- [CakePHP FunctionsBuilder SQL injection in multiple methods](https://junglewise.ai/threats/cve-2026-79752-cakephp-functionsbuilder-sql-injection-in-multiple-methods)
- [CakePHP FunctionsBuilder::jsonValue SQL injection with PostgresDriver](https://junglewise.ai/threats/cve-2026-77635-cakephp-functionsbuilder-jsonvalue-sql-injection-with)
