patchminder
Proof of concept · GitHub CVE-2026-79752

SQL injectionin cakephp.

Published 17 Sep 2026 · Updated 17 Sep 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
Critical 9.2
CVSSA severity score from 0 to 10. 9 and higher is critical. 4.0 · no login needed
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.7% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed versions listed below
In plain words

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.

What to do now
  • 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.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
cakephp
before 4.5.12
4.5.12
CVE record
cakephp
4.6.0 to before 4.6.5
4.6.5
CVE record
cakephp
5.0.0 to before 5.1.9
5.1.9
CVE record
cakephp
5.2.0 to before 5.2.14
5.2.14
CVE record
cakephp
5.3.0 to before 5.3.7
5.3.7
CVE record
cakephp/database (Packagist)
3.0.0 to before 4.5.12
4.5.12
GitHub advisory
cakephp/database (Packagist)
4.6.0 to before 4.6.5
4.6.5
GitHub advisory
cakephp/database (Packagist)
5.0.0 to before 5.1.9
5.1.9
GitHub advisory
cakephp/database (Packagist)
5.2.0 to before 5.2.14
5.2.14
GitHub advisory
cakephp/database (Packagist)
5.3.0 to before 5.3.7
5.3.7
GitHub advisory
cakephp/cakephp (Packagist)
before 4.5.12
4.5.12
GitHub advisory
cakephp/cakephp (Packagist)
4.6.0 to before 4.6.5
4.6.5
GitHub advisory
cakephp/cakephp (Packagist)
5.0.0 to before 5.1.9
5.1.9
GitHub advisory
cakephp/cakephp (Packagist)
5.2.0 to before 5.2.14
5.2.14
GitHub advisory
cakephp/cakephp (Packagist)
5.3.0 to before 5.3.7
5.3.7
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 25 Aug 2026
    CVE ID reserved by GitHub_M.
  2. 17 Sep 2026
    Published in the CVE List.
  3. 17 Sep 2026
    CVE record last updated.
  4. 19 Sep 2026
    First public proof of concept on GitHub.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
1 repository
GitHubno warning signs foundabraxas/CVE-2026-797520 stars · created 19 Sep 2026CVE-2026-79752 · CakePHP · Critical 9.2 · Unauthenticated GET /?type= · SQL Injection

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.

Related

Other cakephp vulnerabilities

Same weakness: SQL injection

All CWE-89 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-79752: SQL injection in cakephp. https://patchminder.com/cve/cve-2026-79752/ (accessed 5 December 2026).