CVE-2026-77635
CRITICAL 9.2CVSS 4.0CakePHP: FunctionsBuilder::jsonValue() vulerable to SQL injection with PostgresDriver
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.
- Published
- 24 Aug 2026
- Last modified
- 12 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-89
- Also known as
- GHSA-fxf7-vhh8-7vpq
- Sources
- NVDJSONOSV GHSA-fxf7-vhh8-7vpqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | CRITICAL 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 |
| OSV | GitHub | CVSS 4.0 | 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
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | cakephp/cakephp | >= 5.3.0, < 5.3.7 | 5.3.7 |
| OSV | Packagist | cakephp/cakephp | >= 5.2.0, < 5.2.15 | 5.2.15 |
| OSV | Packagist | cakephp/cakephp | >= 5.1.0, < 5.1.10 | 5.1.10 |
| OSV | Packagist | cakephp/database | >= 5.3.0, < 5.3.7 | 5.3.7 |
| OSV | Packagist | cakephp/database | >= 5.2.0, < 5.2.15 | 5.2.15 |
| OSV | Packagist | cakephp/database | >= 5.1.0, < 5.1.10 | 5.1.10 |
References
- https://github.com/cakephp/cakephp/commit/138f2f61486532c29ee4d106da2a9848c1ff1ab3 · WEB
- https://github.com/cakephp/cakephp/commit/489a40fb7c6e597af33fe0f7264047afccb90d55 · WEB
- https://github.com/cakephp/cakephp/commit/9f1ad970a3b72293d4a37e694276645f804e819f · WEB
- https://github.com/cakephp/cakephp/releases/tag/5.1.10 · WEB
- https://github.com/cakephp/cakephp/releases/tag/5.2.15 · WEB
- https://github.com/cakephp/cakephp/releases/tag/5.3.7 · WEB
- https://github.com/cakephp/cakephp/security/advisories/GHSA-fxf7-vhh8-7vpq · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-77635 · ADVISORY
- https://github.com/cakephp/cakephp · PACKAGE
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 24 Aug 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 8 Sep 2026)