CVE-2026-77635
published critical CVSS 4.0 · 9.2CakePHP: FunctionsBuilder::jsonValue() vulerable to SQL injection with PostgresDriver
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.2 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| cakephp | cakephp | >= 5.1.0, < 5.1.10 (affected)>= 5.2.0, < 5.2.15 (affected)>= 5.3.0, < 5.3.7 (affected) | GitHub_M · cna |
| cakephp | cakephp/database | >= 5.1.0, < 5.1.10 (affected)>= 5.2.0, < 5.2.15 (affected)>= 5.3.0, < 5.3.7 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-89 CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
References
7- https://github.com/cakephp/cakephp/commit/138f2f61486532c29ee4d106da2a9848c1ff1ab3
- https://github.com/cakephp/cakephp/commit/489a40fb7c6e597af33fe0f7264047afccb90d55
- https://github.com/cakephp/cakephp/commit/9f1ad970a3b72293d4a37e694276645f804e819f
- https://github.com/cakephp/cakephp/releases/tag/5.1.10
- https://github.com/cakephp/cakephp/releases/tag/5.2.15
- https://github.com/cakephp/cakephp/releases/tag/5.3.7
- https://github.com/cakephp/cakephp/security/advisories/GHSA-fxf7-vhh8-7vpq
Provider assertions
2GitHub_M · cna
CakePHP: FunctionsBuilder::jsonValue() vulerable to SQL injection with PostgresDriver
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 80edee0317bdcfb3370b385ee58629f661b17b8e9ec86545c01c8a5492097453
- Ingested
- 23 Sep 2026, 09:32:39 UTC
- Source record
- Official CVE record