Description
CakePHP is a rapid development framework for PHP. Prior to versions 5.1.10, 5.2.15, and 5.3.7 on their respective release lines, FunctionsBuilder::jsonValue() with PostgresDriver is vulnerable to SQL injection when user-controlled data is supplied to the jsonPath parameter. This issue is fixed in versions 5.1.10, 5.2.15, and 5.3.7.
References7
- github.com/cakephp/cakephp/commit/138f2f61486532c29ee4d106da2a9…
- github.com/cakephp/cakephp/commit/489a40fb7c6e597af33fe0f726404…
- github.com/cakephp/cakephp/commit/9f1ad970a3b72293d4a37e6942766…
- github.com/cakephp/cakephp/releases/tag/5.1.10
- github.com/cakephp/cakephp/releases/tag/5.2.15
- github.com/cakephp/cakephp/releases/tag/5.3.7
- github.com/cakephp/cakephp/security/advisories/GHSA-fxf7-vhh8-7…
Metrics
- CVSS 4.0
-
9.2
CRITICAL
Score source: CNA
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - EPSS — exploit probability
- 0% percentile: 43 · as of 9 November 2026
- CWE
- CWE-89
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.