Read the docs
TI-2026-55232 Aliases CVE-2026-79752GHSA-vjqc-q4mp-2rvf

CakePHP: Multiple methods in FunctionsBuilder vulnerable to SQL injection

Priority MEDIUM 43CWE-89Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
SQL injection
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-89.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00621 50th percentileScored 2026-11-07
Fix Fixed cakephp (cakephp): 4.5.12, 4.6.5, 5.1.9 +2cakephp/database (Packagist): 4.5.12, 4.6.5, 5.1.9 +2+1 more product

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
cakephpcakephpbefore 4.5.12; 4.6.0 to before 4.6.5; 5.0.0 to before 5.1.9; 5.2.0 to before 5.2.14; 5.3.0 to before 5.3.74.5.12, 4.6.5, 5.1.9, 5.2.14, 5.3.7Patch availableCNA
—cakephp/database (Packagist)3.0.0 to before 4.5.124.5.12Patch availableGHSA-vjqc-q4mp-2rvf
—cakephp/database (Packagist)4.6.0 to before 4.6.54.6.5Patch availableGHSA-vjqc-q4mp-2rvf
—cakephp/database (Packagist)5.0.0 to before 5.1.95.1.9Patch availableGHSA-vjqc-q4mp-2rvf
—cakephp/database (Packagist)5.2.0 to before 5.2.145.2.14Patch availableGHSA-vjqc-q4mp-2rvf
—cakephp/database (Packagist)5.3.0 to before 5.3.75.3.7Patch availableGHSA-vjqc-q4mp-2rvf
—cakephp/cakephp (Packagist)before 4.5.124.5.12Patch availableGHSA-vjqc-q4mp-2rvf
—cakephp/cakephp (Packagist)4.6.0 to before 4.6.54.6.5Patch availableGHSA-vjqc-q4mp-2rvf
—cakephp/cakephp (Packagist)5.0.0 to before 5.1.95.1.9Patch availableGHSA-vjqc-q4mp-2rvf
—cakephp/cakephp (Packagist)5.2.0 to before 5.2.145.2.14Patch availableGHSA-vjqc-q4mp-2rvf
—cakephp/cakephp (Packagist)5.3.0 to before 5.3.75.3.7Patch availableGHSA-vjqc-q4mp-2rvf
  • cakephp Vendorcakephp Affected before 4.5.12; 4.6.0 to before 4.6.5; 5.0.0 to before 5.1.9; 5.2.0 to before 5.2.14; 5.3.0 to before 5.3.7 Fixed in 4.5.12, 4.6.5, 5.1.9, 5.2.14, 5.3.7 Patch available CNA
  • cakephp/database (Packagist) Vendor— Affected 3.0.0 to before 4.5.12 Fixed in 4.5.12 Patch available GHSA-vjqc-q4mp-2rvf
  • cakephp/database (Packagist) Vendor— Affected 4.6.0 to before 4.6.5 Fixed in 4.6.5 Patch available GHSA-vjqc-q4mp-2rvf
  • cakephp/database (Packagist) Vendor— Affected 5.0.0 to before 5.1.9 Fixed in 5.1.9 Patch available GHSA-vjqc-q4mp-2rvf
  • cakephp/database (Packagist) Vendor— Affected 5.2.0 to before 5.2.14 Fixed in 5.2.14 Patch available GHSA-vjqc-q4mp-2rvf
  • cakephp/database (Packagist) Vendor— Affected 5.3.0 to before 5.3.7 Fixed in 5.3.7 Patch available GHSA-vjqc-q4mp-2rvf
  • cakephp/cakephp (Packagist) Vendor— Affected before 4.5.12 Fixed in 4.5.12 Patch available GHSA-vjqc-q4mp-2rvf
  • cakephp/cakephp (Packagist) Vendor— Affected 4.6.0 to before 4.6.5 Fixed in 4.6.5 Patch available GHSA-vjqc-q4mp-2rvf
  • cakephp/cakephp (Packagist) Vendor— Affected 5.0.0 to before 5.1.9 Fixed in 5.1.9 Patch available GHSA-vjqc-q4mp-2rvf
  • cakephp/cakephp (Packagist) Vendor— Affected 5.2.0 to before 5.2.14 Fixed in 5.2.14 Patch available GHSA-vjqc-q4mp-2rvf
  • cakephp/cakephp (Packagist) Vendor— Affected 5.3.0 to before 5.3.7 Fixed in 5.3.7 Patch available GHSA-vjqc-q4mp-2rvf

Remediation

  • Fix · CNA cakephp (cakephp) Fixed in 4.5.12, 4.6.5, 5.1.9, 5.2.14, 5.3.7
  • Fix · GHSA-vjqc-q4mp-2rvf cakephp/database (Packagist) Fixed in 4.5.12 Advisory →
  • Fix · GHSA-vjqc-q4mp-2rvf cakephp/database (Packagist) Fixed in 4.6.5 Advisory →
  • Fix · GHSA-vjqc-q4mp-2rvf cakephp/database (Packagist) Fixed in 5.1.9 Advisory →
  • Fix · GHSA-vjqc-q4mp-2rvf cakephp/database (Packagist) Fixed in 5.2.14 Advisory →
  • Fix · GHSA-vjqc-q4mp-2rvf cakephp/database (Packagist) Fixed in 5.3.7 Advisory →
  • Fix · GHSA-vjqc-q4mp-2rvf cakephp/cakephp (Packagist) Fixed in 4.5.12 Advisory →
  • Fix · GHSA-vjqc-q4mp-2rvf cakephp/cakephp (Packagist) Fixed in 4.6.5 Advisory →
  • Fix · GHSA-vjqc-q4mp-2rvf cakephp/cakephp (Packagist) Fixed in 5.1.9 Advisory →
  • Fix · GHSA-vjqc-q4mp-2rvf cakephp/cakephp (Packagist) Fixed in 5.2.14 Advisory →
  • Fix · GHSA-vjqc-q4mp-2rvf cakephp/cakephp (Packagist) Fixed in 5.3.7 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-79752
  2. 2026-10-03 Alias added: GHSA-vjqc-q4mp-2rvf
  3. 2026-11-07 EPSS moved to the 50th–90th percentile

References

  • TI-2010-04068 The _validatePost function in libs/controller/components/security.php in CakePHP 1.3.x… CVSS 2.0HIGH 7.5
  • TI-2026-82995 Cookie leakage in CakePHP HTTP client cookie domain matching CVSS 4.0MEDIUM 6.3
  • TI-2026-19037 CakePHP PaginatorHelper::limitControl() vulnerable to reflected cross-site-scripting CVSS 3.1MEDIUM 5.4
  • TI-2023-08901 Database Query::offset() and limit() vulnerable to SQL injection in cakephp CVSS 3.1CRITICAL 9.8
  • TI-2026-54106 CakePHP: FunctionsBuilder::jsonValue() vulerable to SQL injection with PostgresDriver CVSS 4.0CRITICAL 9.2
  • TI-2026-82998 SQL injection in CakePHP via unvalidated collation names CVSS 4.0CRITICAL 9.2
See all 22 →

Sources