SQL injectionin cakephp.
Proof of concept public (GitHub).
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.
- Upgrade cakephp to 4.5.12, 4.6.5, 5.1.9, 5.2.14, 5.3.7 or later, whichever matches your release line.
- Upgrade cakephp/database (Packagist) to 4.5.12, 4.6.5, 5.1.9, 5.2.14, 5.3.7 or later, whichever matches your release line.
- Upgrade cakephp/cakephp (Packagist) to 4.5.12, 4.6.5, 5.1.9, 5.2.14, 5.3.7 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 25 Aug 2026CVE ID reserved by GitHub_M.
- 17 Sep 2026Published in the CVE List.
- 17 Sep 2026CVE record last updated.
- 19 Sep 2026First public proof of concept on GitHub.
Attack code anyone can find
Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other cakephp vulnerabilities
Same weakness: SQL injection
- github.com x_refsource_CONFIRM
- github.com x_refsource_MISC
- github.com x_refsource_MISC
- github.com x_refsource_MISC
- github.com x_refsource_MISC
- github.com x_refsource_MISC
- github.com x_refsource_MISC
- github.com x_refsource_MISC
- github.com x_refsource_MISC
- github.com x_refsource_MISC
- github.com x_refsource_MISC
- github.com x_refsource_MISC
- github.com x_refsource_MISC
Patchminder. CVE-2026-79752: SQL injection in cakephp. https://patchminder.com/cve/cve-2026-79752/ (accessed 5 December 2026).