# CVE-2026-119418: CakePHP through 5.4.3 SQL Injection via WindowExpression range() and frame()

- Severity: Critical 9.2 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 43% of CVEs (2026-12-01)
- Published: 2026-10-30T11:30:50.158Z
- Modified: 2026-10-30T19:07:25.060Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- cakephp cakephp: up to 5.4.3

## Every score

- VulnCheck: CVSS:4.0 9.2 Critical `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/cakephp/cakephp/commit/18de3e4cdabba049269421bf43c2ccd1a7451565> (patch)
- <https://github.com/cakephp/cakephp/commit/a5ca1748dcdb432631fc2760f898576043ce3df9> (patch)
- <https://github.com/cakephp/cakephp/commit/3c1183fb62274c8a1c2780b2d3cc40f40cf31f1f> (patch)
- <https://github.com/cakephp/cakephp/pull/19735> (issue-tracking, patch)
- <https://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Database/Expression/WindowExpression.php#L152> (technical-description)
- <https://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Database/Expression/WindowExpression.php#L330> (technical-description)
- <https://abraxaslabs.tech/research/cakephp-window-sqli> (third-party-advisory)
- <https://github.com/cakephp/cakephp> (product)
- <https://www.vulncheck.com/advisories/cakephp-through-5.4.3-sql-injection-via-windowexpression-range-and-frame> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-119418](https://www.cve.org/CVERecord?id=CVE-2026-119418), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-119418](https://nvd.nist.gov/vuln/detail/CVE-2026-119418), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-119418 · Whole record: https://cve.day/CVE-2026-119418.json · Rebuilt by cve.day 2026-11-25T22:59:47.911Z
