CVE-2026-77635 json
CakePHP: FunctionsBuilder::jsonValue() vulerable to SQL injection with PostgresDriver
published 2mo ago modified 30d ago also EUVD-2026-65121 , GHSA-fxf7-vhh8-7vpq
- cvss
- 9.2
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 42%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist cakephp/cakephp 5.1.10, 5.2.15, 5.3.7
- packagist cakephp/database 5.1.10, 5.2.15, 5.3.7
- cakefoundation cakephp 5.1.10, 5.2.15, 5.3.7
- cakephp cakephp 5.1.10, 5.2.15, 5.3.7
- cakefoundation database 5.1.10, 5.2.15, 5.3.7
- cakephp database 5.1.10, 5.2.15, 5.3.7
Is CVE-2026-77635 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 2mo ago
Exploit prediction
0.49% chance of exploitation in the next 30 days, higher than 42% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 9.2 | 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 |
| CNA | 4.0 | 9.2 | 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 |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | cakephp/cakephp | >=5.3.0, <5.3.7 >=5.2.0, <5.2.15 >=5.1.0, <5.1.10 |
5.3.7 5.2.15 5.1.10 |
| packagist | cakephp/database | >=5.3.0, <5.3.7 >=5.2.0, <5.2.15 >=5.1.0, <5.1.10 |
5.3.7 5.2.15 5.1.10 |
Affected products
- cakephp cakephp
- cakephp cakephp/database
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
-
github.com
/cakephp/cakephp/commit/138f2f61486532c29ee4d106da2a9848c1ff1ab3
web
-
github.com
/cakephp/cakephp/commit/489a40fb7c6e597af33fe0f7264047afccb90d55
web
-
github.com
/cakephp/cakephp/commit/9f1ad970a3b72293d4a37e694276645f804e819f
web
-
github.com
/cakephp/cakephp/security/advisories/GHSA-fxf7-vhh8-7vpq
web
-
github.com
/cakephp/cakephp/releases/tag/5.1.10
web
-
github.com
/cakephp/cakephp/releases/tag/5.2.15
web
-
github.com
/cakephp/cakephp/releases/tag/5.3.7
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-77635
advisory
-
github.com
/cakephp/cakephp
package
Sources
- CVE List CVE-2026-77635
- GitHub Advisory GHSA-fxf7-vhh8-7vpq
- NVD CVE-2026-77635
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.