Skip to content

CVE-2026-79752 CakePHP: Multiple methods in FunctionsBuilder vulnerable to SQL injection

CriticalCVSS 9.2 EPSS 0.62%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
PHPUbuntu

Description

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 path

4 packages: 2 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/cakephp(Ubuntu 22.04) All versions No fix listed No fix yet
cakephp/cakephp(Packagist) < 4.5.12; = 2.4.5; = 2.4.6; = 2.4.7 +439 more 4.5.12, 4.6.5, 5.1.9, 5.2.14, 5.3.7 Fixed
cakephp/database(Packagist) = 3.0.0; = 3.0.1; = 3.0.2; = 3.0.3 +316 more 4.5.12, 4.6.5, 5.1.9, 5.2.14, 5.3.7 Fixed
cakephp/cakephp = < 4.5.12; = >= 4.6.0, < 4.6.5; = >= 5.0.0, < 5.1.9; = >= 5.2.0, < 5.2.14 +1 more No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
cakephp/database(Packagist) >= 3.0.0, < 4.5.12 4.5.12
cakephp/database(Packagist) = 3.0.0 No fix listed
cakephp/database(Packagist) = 3.0.1 No fix listed
cakephp/database(Packagist) = 3.0.10 No fix listed
cakephp/database(Packagist) = 3.0.12 No fix listed
cakephp/database(Packagist) = 3.0.13 No fix listed
cakephp/database(Packagist) = 3.0.15 No fix listed
cakephp/database(Packagist) = 3.0.18 No fix listed
cakephp/database(Packagist) = 3.0.2 No fix listed
cakephp/database(Packagist) = 3.0.3 No fix listed
cakephp/database(Packagist) = 3.0.4 No fix listed
cakephp/database(Packagist) = 3.0.5 No fix listed
cakephp/database(Packagist) = 3.0.6 No fix listed
cakephp/database(Packagist) = 3.0.7 No fix listed
cakephp/database(Packagist) = 3.0.8 No fix listed
cakephp/database(Packagist) = 3.0.9 No fix listed
cakephp/database(Packagist) = 3.1.0 No fix listed
cakephp/database(Packagist) = 3.1.0-RC1 No fix listed
cakephp/database(Packagist) = 3.1.0-beta No fix listed
cakephp/database(Packagist) = 3.1.0-beta2 No fix listed
cakephp/database(Packagist) = 3.1.1 No fix listed
cakephp/database(Packagist) = 3.1.10 No fix listed
cakephp/database(Packagist) = 3.1.13 No fix listed
cakephp/database(Packagist) = 3.1.2 No fix listed
cakephp/database(Packagist) = 3.1.3 No fix listed
Show 175 more
ProductAffected versionsFixed in
cakephp/database(Packagist) = 3.1.4 No fix listed
cakephp/database(Packagist) = 3.1.5 No fix listed
cakephp/database(Packagist) = 3.1.6 No fix listed
cakephp/database(Packagist) = 3.1.7 No fix listed
cakephp/database(Packagist) = 3.1.8 No fix listed
cakephp/database(Packagist) = 3.1.9 No fix listed
cakephp/database(Packagist) = 3.10.0 No fix listed
cakephp/database(Packagist) = 3.10.0-RC1 No fix listed
cakephp/database(Packagist) = 3.10.1 No fix listed
cakephp/database(Packagist) = 3.10.3 No fix listed
cakephp/database(Packagist) = 3.10.4 No fix listed
cakephp/database(Packagist) = 3.10.5 No fix listed
cakephp/database(Packagist) = 3.2.0 No fix listed
cakephp/database(Packagist) = 3.2.0-RC1 No fix listed
cakephp/database(Packagist) = 3.2.1 No fix listed
cakephp/database(Packagist) = 3.2.10 No fix listed
cakephp/database(Packagist) = 3.2.11 No fix listed
cakephp/database(Packagist) = 3.2.12 No fix listed
cakephp/database(Packagist) = 3.2.13 No fix listed
cakephp/database(Packagist) = 3.2.14 No fix listed
cakephp/database(Packagist) = 3.2.2 No fix listed
cakephp/database(Packagist) = 3.2.3 No fix listed
cakephp/database(Packagist) = 3.2.4 No fix listed
cakephp/database(Packagist) = 3.2.5 No fix listed
cakephp/database(Packagist) = 3.2.6 No fix listed
cakephp/database(Packagist) = 3.2.7 No fix listed
cakephp/database(Packagist) = 3.2.8 No fix listed
cakephp/database(Packagist) = 3.2.9 No fix listed
cakephp/database(Packagist) = 3.3.0 No fix listed
cakephp/database(Packagist) = 3.3.0-RC1 No fix listed
cakephp/database(Packagist) = 3.3.0-beta No fix listed
cakephp/database(Packagist) = 3.3.0-beta2 No fix listed
cakephp/database(Packagist) = 3.3.0-beta3 No fix listed
cakephp/database(Packagist) = 3.3.1 No fix listed
cakephp/database(Packagist) = 3.3.10 No fix listed
cakephp/database(Packagist) = 3.3.11 No fix listed
cakephp/database(Packagist) = 3.3.12 No fix listed
cakephp/database(Packagist) = 3.3.13 No fix listed
cakephp/database(Packagist) = 3.3.14 No fix listed
cakephp/database(Packagist) = 3.3.15 No fix listed
cakephp/database(Packagist) = 3.3.16 No fix listed
cakephp/database(Packagist) = 3.3.2 No fix listed
cakephp/database(Packagist) = 3.3.3 No fix listed
cakephp/database(Packagist) = 3.3.4 No fix listed
cakephp/database(Packagist) = 3.3.5 No fix listed
cakephp/database(Packagist) = 3.3.6 No fix listed
cakephp/database(Packagist) = 3.3.7 No fix listed
cakephp/database(Packagist) = 3.3.8 No fix listed
cakephp/database(Packagist) = 3.3.9 No fix listed
cakephp/database(Packagist) = 3.4.0 No fix listed
cakephp/database(Packagist) = 3.4.0-RC1 No fix listed
cakephp/database(Packagist) = 3.4.0-RC2 No fix listed
cakephp/database(Packagist) = 3.4.0-RC3 No fix listed
cakephp/database(Packagist) = 3.4.0-RC4 No fix listed
cakephp/database(Packagist) = 3.4.0-beta1 No fix listed
cakephp/database(Packagist) = 3.4.0-beta2 No fix listed
cakephp/database(Packagist) = 3.4.0-beta3 No fix listed
cakephp/database(Packagist) = 3.4.0-beta4 No fix listed
cakephp/database(Packagist) = 3.4.1 No fix listed
cakephp/database(Packagist) = 3.4.10 No fix listed
cakephp/database(Packagist) = 3.4.11 No fix listed
cakephp/database(Packagist) = 3.4.12 No fix listed
cakephp/database(Packagist) = 3.4.13 No fix listed
cakephp/database(Packagist) = 3.4.14 No fix listed
cakephp/database(Packagist) = 3.4.2 No fix listed
cakephp/database(Packagist) = 3.4.3 No fix listed
cakephp/database(Packagist) = 3.4.4 No fix listed
cakephp/database(Packagist) = 3.4.5 No fix listed
cakephp/database(Packagist) = 3.4.6 No fix listed
cakephp/database(Packagist) = 3.4.7 No fix listed
cakephp/database(Packagist) = 3.4.8 No fix listed
cakephp/database(Packagist) = 3.4.9 No fix listed
cakephp/database(Packagist) = 3.5.0 No fix listed
cakephp/database(Packagist) = 3.5.0-RC1 No fix listed
cakephp/database(Packagist) = 3.5.0-RC2 No fix listed
cakephp/database(Packagist) = 3.5.1 No fix listed
cakephp/database(Packagist) = 3.5.10 No fix listed
cakephp/database(Packagist) = 3.5.11 No fix listed
cakephp/database(Packagist) = 3.5.12 No fix listed
cakephp/database(Packagist) = 3.5.13 No fix listed
cakephp/database(Packagist) = 3.5.14 No fix listed
cakephp/database(Packagist) = 3.5.15 No fix listed
cakephp/database(Packagist) = 3.5.17 No fix listed
cakephp/database(Packagist) = 3.5.2 No fix listed
cakephp/database(Packagist) = 3.5.3 No fix listed
cakephp/database(Packagist) = 3.5.4 No fix listed
cakephp/database(Packagist) = 3.5.5 No fix listed
cakephp/database(Packagist) = 3.5.6 No fix listed
cakephp/database(Packagist) = 3.5.7 No fix listed
cakephp/database(Packagist) = 3.5.8 No fix listed
cakephp/database(Packagist) = 3.5.9 No fix listed
cakephp/database(Packagist) = 3.6.0 No fix listed
cakephp/database(Packagist) = 3.6.0-RC1 No fix listed
cakephp/database(Packagist) = 3.6.0-RC2 No fix listed
cakephp/database(Packagist) = 3.6.0-beta1 No fix listed
cakephp/database(Packagist) = 3.6.0-beta2 No fix listed
cakephp/database(Packagist) = 3.6.0-beta3 No fix listed
cakephp/database(Packagist) = 3.6.1 No fix listed
cakephp/database(Packagist) = 3.6.10 No fix listed
cakephp/database(Packagist) = 3.6.11 No fix listed
cakephp/database(Packagist) = 3.6.12 No fix listed
cakephp/database(Packagist) = 3.6.13 No fix listed
cakephp/database(Packagist) = 3.6.14 No fix listed
cakephp/database(Packagist) = 3.6.2 No fix listed
cakephp/database(Packagist) = 3.6.3 No fix listed
cakephp/database(Packagist) = 3.6.4 No fix listed
cakephp/database(Packagist) = 3.6.5 No fix listed
cakephp/database(Packagist) = 3.6.6 No fix listed
cakephp/database(Packagist) = 3.6.7 No fix listed
cakephp/database(Packagist) = 3.6.8 No fix listed
cakephp/database(Packagist) = 3.6.9 No fix listed
cakephp/database(Packagist) = 3.7.0 No fix listed
cakephp/database(Packagist) = 3.7.0-RC1 No fix listed
cakephp/database(Packagist) = 3.7.0-RC2 No fix listed
cakephp/database(Packagist) = 3.7.0-RC3 No fix listed
cakephp/database(Packagist) = 3.7.0-beta1 No fix listed
cakephp/database(Packagist) = 3.7.1 No fix listed
cakephp/database(Packagist) = 3.7.2 No fix listed
cakephp/database(Packagist) = 3.7.3 No fix listed
cakephp/database(Packagist) = 3.7.4 No fix listed
cakephp/database(Packagist) = 3.7.5 No fix listed
cakephp/database(Packagist) = 3.7.6 No fix listed
cakephp/database(Packagist) = 3.7.7 No fix listed
cakephp/database(Packagist) = 3.7.8 No fix listed
cakephp/database(Packagist) = 3.7.9 No fix listed
cakephp/database(Packagist) = 3.8.0 No fix listed
cakephp/database(Packagist) = 3.8.0-RC1 No fix listed
cakephp/database(Packagist) = 3.8.0-RC2 No fix listed
cakephp/database(Packagist) = 3.8.0-RC3 No fix listed
cakephp/database(Packagist) = 3.8.0-beta1 No fix listed
cakephp/database(Packagist) = 3.8.1 No fix listed
cakephp/database(Packagist) = 3.8.10 No fix listed
cakephp/database(Packagist) = 3.8.11 No fix listed
cakephp/database(Packagist) = 3.8.12 No fix listed
cakephp/database(Packagist) = 3.8.13 No fix listed
cakephp/database(Packagist) = 3.8.2 No fix listed
cakephp/database(Packagist) = 3.8.3 No fix listed
cakephp/database(Packagist) = 3.8.4 No fix listed
cakephp/database(Packagist) = 3.8.5 No fix listed
cakephp/database(Packagist) = 3.8.6 No fix listed
cakephp/database(Packagist) = 3.8.7 No fix listed
cakephp/database(Packagist) = 3.8.8 No fix listed
cakephp/database(Packagist) = 3.8.9 No fix listed
cakephp/database(Packagist) = 3.9.0 No fix listed
cakephp/database(Packagist) = 3.9.0-RC1 No fix listed
cakephp/database(Packagist) = 3.9.0-RC2 No fix listed
cakephp/database(Packagist) = 3.9.1 No fix listed
cakephp/database(Packagist) = 3.9.10 No fix listed
cakephp/database(Packagist) = 3.9.2 No fix listed
cakephp/database(Packagist) = 3.9.3 No fix listed
cakephp/database(Packagist) = 3.9.4 No fix listed
cakephp/database(Packagist) = 3.9.5 No fix listed
cakephp/database(Packagist) = 3.9.6 No fix listed
cakephp/database(Packagist) = 3.9.7 No fix listed
cakephp/database(Packagist) = 3.9.8 No fix listed
cakephp/database(Packagist) = 3.9.9 No fix listed
cakephp/database(Packagist) = 4.0.0 No fix listed
cakephp/database(Packagist) = 4.0.0-RC1 No fix listed
cakephp/database(Packagist) = 4.0.0-RC2 No fix listed
cakephp/database(Packagist) = 4.0.0-alpha1 No fix listed
cakephp/database(Packagist) = 4.0.0-beta1 No fix listed
cakephp/database(Packagist) = 4.0.0-beta2 No fix listed
cakephp/database(Packagist) = 4.0.0-beta3 No fix listed
cakephp/database(Packagist) = 4.0.0-beta4 No fix listed
cakephp/database(Packagist) = 4.0.1 No fix listed
cakephp/database(Packagist) = 4.0.2 No fix listed
cakephp/database(Packagist) = 4.0.3 No fix listed
cakephp/database(Packagist) = 4.0.4 No fix listed
cakephp/database(Packagist) = 4.0.5 No fix listed
cakephp/database(Packagist) = 4.0.6 No fix listed
cakephp/database(Packagist) = 4.0.7 No fix listed
cakephp/database(Packagist) = 4.0.8 No fix listed
cakephp/database(Packagist) = 4.0.9 No fix listed
cakephp/database(Packagist) = 4.1.0 No fix listed
cakephp/database(Packagist) = 4.1.0-RC1 No fix listed

References