Home / cakephp / cakephp / CVE-2026-79752
CVE-2026-79752: is it exploited, and which versions of cakephp are affected and fixed?
CVE-2026-79752 is a SQL injection vulnerability in cakephp. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 09:38 UTC). Affected: cakephp/database from 3.0.0 before 4.5.12, cakephp/database from 4.6.0 before 4.6.5, cakephp/database from 5.0.0 before 5.1.9 and 7 more (GitHub advisory GHSA-vjqc-q4mp-2rvf). Fixed in 4.5.12, 4.6.5, 5.1.9, 5.2.14 and 1 more (GitHub advisory GHSA-vjqc-q4mp-2rvf). Severity: Critical (9.2, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:38 UTC, CVE record November 19, 2026, 07:06 UTC and NVD November 19, 2026, 07:07 UTC.
What is CVE-2026-79752?
CakePHP: Multiple methods in FunctionsBuilder vulnerable to SQL injection
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.
From the CVE record by GitHub_M, last updated September 17, 2026, 15:20 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| cakephp | 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 |
As the CVE record by GitHub_M states it, last updated September 17, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | cakephp/database | >= 3.0.0, < 4.5.12 | 4.5.12 | GHSA-vjqc-q4mp-2rvf |
| Packagist | cakephp/database | >= 4.6.0, < 4.6.5 | 4.6.5 | GHSA-vjqc-q4mp-2rvf |
| Packagist | cakephp/database | >= 5.0.0, < 5.1.9 | 5.1.9 | GHSA-vjqc-q4mp-2rvf |
| Packagist | cakephp/database | >= 5.2.0, < 5.2.14 | 5.2.14 | GHSA-vjqc-q4mp-2rvf |
| Packagist | cakephp/database | >= 5.3.0, < 5.3.7 | 5.3.7 | GHSA-vjqc-q4mp-2rvf |
| Packagist | cakephp/cakephp | < 4.5.12 | 4.5.12 | GHSA-vjqc-q4mp-2rvf |
| Packagist | cakephp/cakephp | >= 4.6.0, < 4.6.5 | 4.6.5 | GHSA-vjqc-q4mp-2rvf |
| Packagist | cakephp/cakephp | >= 5.0.0, < 5.1.9 | 5.1.9 | GHSA-vjqc-q4mp-2rvf |
| Packagist | cakephp/cakephp | >= 5.2.0, < 5.2.14 | 5.2.14 | GHSA-vjqc-q4mp-2rvf |
| Packagist | cakephp/cakephp | >= 5.3.0, < 5.3.7 | 5.3.7 | GHSA-vjqc-q4mp-2rvf |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 24, 2026. Summary: CakePHP: Multiple methods in FunctionsBuilder vulnerable to SQL injection.
How severe is CVE-2026-79752?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.2 | CVSS 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 | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-79752 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, September 17, 2026)
- EPSS
- 0.66% probability of exploitation activity in the next 30 days, percentile 53.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
Where are the vendor advisories and references?
- https://github.com/cakephp/cakephp/security/advisories/GHSA-vjqc-q4mp-2rvf x_refsource_CONFIRM
- https://github.com/cakephp/cakephp/pull/19520 x_refsource_MISC
- https://github.com/cakephp/cakephp/pull/19528 x_refsource_MISC
- https://github.com/cakephp/cakephp/commit/3349584ca3a891afaff2dbc324d6b1c09fb880f0 x_refsource_MISC
- https://github.com/cakephp/cakephp/commit/3f4d13ea4280067f3381ecf935a8bef5b7cdcc2e x_refsource_MISC
- https://github.com/cakephp/cakephp/commit/79e1d6bc6f3a50fa01805579076a02c77370c676 x_refsource_MISC
- https://github.com/cakephp/cakephp/commit/8699d6f38e25fe46fcc24f2b698809948e71ad7d x_refsource_MISC
- https://github.com/cakephp/cakephp/commit/ab608711674ac662af7315c5cdf1e0fbe2000e45 x_refsource_MISC
- https://github.com/cakephp/cakephp/releases/tag/4.5.12 x_refsource_MISC
- https://github.com/cakephp/cakephp/releases/tag/4.6.5 x_refsource_MISC
- https://github.com/cakephp/cakephp/releases/tag/5.1.9 x_refsource_MISC
- https://github.com/cakephp/cakephp/releases/tag/5.2.14 x_refsource_MISC
- https://github.com/cakephp/cakephp/releases/tag/5.3.7 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- August 25, 2026
- Published
- September 17, 2026, 14:49 UTC
- CVE record updated
- September 17, 2026, 15:20 UTC by GitHub_M
- NVD
- Awaiting Analysis, last modified September 30, 2026, 17:43 UTC
- Last checked
- CVE list November 19, 2026, 07:06 UTC; NVD November 19, 2026, 07:07 UTC; KEV December 3, 2026, 09:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect cakephp?
- Oct 30, 2026CVE-2026-119419 cakephp: SQL injection
- Oct 30, 2026CVE-2026-119418 cakephp: SQL injection
- Oct 30, 2026CVE-2026-119417 cakephp: improper Neutralization of CRLF Sequences
- Oct 30, 2026CVE-2026-119416 cakephp: origin not validated
- Oct 30, 2026CVE-2026-119415 cakephp: improper Neutralization of CRLF Sequences
- Aug 24, 2026CVE-2026-77634 cakephp: improper Neutralization of CRLF Sequences
- Aug 24, 2026CVE-2026-77635 cakephp: SQL injection
- Jun 17, 2026CVE-2026-48820 cakephp: PHP file inclusion
Questions about CVE-2026-79752
Is CVE-2026-79752 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:38 UTC. FIRST's EPSS gives it a 0.66% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of cakephp are affected by CVE-2026-79752?
cakephp/database from 3.0.0 before 4.5.12, cakephp/database from 4.6.0 before 4.6.5, cakephp/database from 5.0.0 before 5.1.9, cakephp/database from 5.2.0 before 5.2.14, cakephp/database from 5.3.0 before 5.3.7, cakephp/cakephp before 4.5.12 and 4 more, per the GitHub advisory GHSA-vjqc-q4mp-2rvf. The tables above give every range the sources list.
Which version fixes CVE-2026-79752?
4.5.12, 4.6.5, 5.1.9, 5.2.14 and 5.3.7, per the GitHub advisory GHSA-vjqc-q4mp-2rvf. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-79752?
Critical (9.2, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-79752?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.