CVE-2026-79752

published 17 Sep 2026 · updated 17 Sep 2026

CakePHP: Multiple methods in FunctionsBuilder vulnerable to SQL injection

9.2CriticalCVSS 9.2EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

CakePHP is a rapid development framework for PHP. Prior to 4.5.12, 4.6.5, 5.1.9, 5.2.14, and 5.3.7, FunctionsBuilder::cast, FunctionsBuilder::extract, FunctionsBuilder::datePart, and FunctionsBuilder::dateAdd in src/Database/FunctionsBuilder.php accept user-controlled dataType, part, or unit values and incorporate them into generated SQL as unescaped structural fragments. An application that passes untrusted input to these parameters can permit SQL injection with confidentiality, integrity, and availability impact according to the database connection's privileges. This issue is fixed in versions 4.5.12, 4.6.5, 5.1.9, 5.2.14, and 5.3.7.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
cakephp<4.5.12, >=4.6.0 <4.6.5, >=5.0.0 <5.1.9, >=5.2.0 <5.2.14, >=5.3.0 <5.3.7

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-79752 severity on Zeptric[![CVE-2026-79752](https://zeptric.io/badge/cve/CVE-2026-79752.svg)](https://zeptric.io/cve/CVE-2026-79752)