Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
CakePHP's FunctionsBuilder in the cakephp/cakephp and cakephp/database Packagist packages is vulnerable to SQL injection in its cast, extract, datePart and dateAdd methods. An attacker can exploit this when user-controlled data reaches the dataType, part or unit parameters, and the source does not describe the required access level. Upgrade to cakephp/cakephp 4.5.12, 4.6.5, 5.1.9, 5.2.14 or 5.3.7, or to the matching cakephp/database release; the source's workaround is to avoid passing user-controlled data to these parameters.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 9.2 | Critical | 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0062, the 50th percentile, on 10 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 13:54 UTC First seen by agentprime
- 31 Oct 2026, 13:54 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-vjqc-q4mp-2rvf
- OSV: GHSA-vjqc-q4mp-2rvf
- github.com/cakephp/cakephp/security/advisories/GHSA-vjqc-q4mp-2rvf
- nvd.nist.gov/vuln/detail/CVE-2026-79752
- github.com/cakephp/cakephp/pull/19528
- github.com/cakephp/cakephp/pull/19520
- github.com/cakephp/cakephp/commit/79e1d6bc6f3a50fa01805579076a02c77370c676
- github.com/cakephp/cakephp/commit/8699d6f38e25fe46fcc24f2b698809948e71ad7d
- github.com/cakephp/cakephp/commit/ab608711674ac662af7315c5cdf1e0fbe2000e45
- github.com/cakephp/cakephp/commit/4730e774bd3b9caa90d67af49e27a12033ec3c71
- github.com/cakephp/cakephp/commit/3f4d13ea4280067f3381ecf935a8bef5b7cdcc2e
- github.com/cakephp/cakephp/commit/3349584ca3a891afaff2dbc324d6b1c09fb880f0
- github.com/cakephp/cakephp/releases/tag/4.5.12
- github.com/cakephp/cakephp/releases/tag/4.6.5