---
title: "CVE-2026-119418: CakePHP - SQL Injection"
description: "CakePHP <= 5.4.3 contains an SQL injection caused by unvalidated frame offsets and directions in WindowExpression::range() and frame(), letting attackers execute SQL with database privileges, exploit requires crafted user input forwarded to OVER clause."
url: https://panop.io/threat-heartbeat/CVE-2026-119418/
---

# CVE-2026-119418 CakePHP - SQL Injection

CakePHP <= 5.4.3 contains an SQL injection caused by unvalidated frame offsets and directions in WindowExpression::range() and frame(), letting attackers execute SQL with database privileges, exploit requires crafted user input forwarded to OVER clause.

CVSS base score 8.1 /10

High

CISA KEV

Not listed

Public exploit

None known

Authentication

Not required

EPSS

0.48% chance of exploitation in 30 days

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-119418)

## Details

Type

SQL Injection

Impact

SQL Injection

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Published

30 October 2026

Updated

1 November 2026

Weakness

[CWE-89](https://cwe.mitre.org/data/definitions/89.html)

## Vendor fix

Update to a version later than 5.4.3.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-119418](https://nvd.nist.gov/vuln/detail/CVE-2026-119418)
- [https://abraxaslabs.tech/research/cakephp-window-sqli](https://abraxaslabs.tech/research/cakephp-window-sqli)
- [https://github.com/cakephp/cakephp](https://github.com/cakephp/cakephp)
- [https://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Database/Expression/WindowExpression.php#L330](https://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Database/Expression/WindowExpression.php#L330)
- [https://github.com/cakephp/cakephp/commit/3c1183fb62274c8a1c2780b2d3cc40f40cf31f1f](https://github.com/cakephp/cakephp/commit/3c1183fb62274c8a1c2780b2d3cc40f40cf31f1f)
- [https://github.com/cakephp/cakephp/commit/a5ca1748dcdb432631fc2760f898576043ce3df9](https://github.com/cakephp/cakephp/commit/a5ca1748dcdb432631fc2760f898576043ce3df9)
- [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#L152)
- [https://github.com/cakephp/cakephp/commit/18de3e4cdabba049269421bf43c2ccd1a7451565](https://github.com/cakephp/cakephp/commit/18de3e4cdabba049269421bf43c2ccd1a7451565)
- [https://github.com/cakephp/cakephp/pull/19735](https://github.com/cakephp/cakephp/pull/19735)
- [https://www.vulncheck.com/advisories/cakephp-through-5.4.3-sql-injection-via-windowexpression-range-and-frame](https://www.vulncheck.com/advisories/cakephp-through-5.4.3-sql-injection-via-windowexpression-range-and-frame)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
