{"id":"CVE-2026-77635","summary":"CakePHP: FunctionsBuilder::jsonValue() vulerable to SQL injection with PostgresDriver","details":"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.","aliases":["GHSA-fxf7-vhh8-7vpq"],"modified":"2026-09-11T03:31:03.287449934Z","published":"2026-08-24T20:30:34.492Z","database_specific":{"cwe_ids":["CWE-89"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77635.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/cakephp/cakephp/releases/tag/5.1.10"},{"type":"WEB","url":"https://github.com/cakephp/cakephp/releases/tag/5.2.15"},{"type":"WEB","url":"https://github.com/cakephp/cakephp/releases/tag/5.3.7"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77635.json"},{"type":"ADVISORY","url":"https://github.com/cakephp/cakephp/security/advisories/GHSA-fxf7-vhh8-7vpq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77635"},{"type":"FIX","url":"https://github.com/cakephp/cakephp/commit/138f2f61486532c29ee4d106da2a9848c1ff1ab3"},{"type":"FIX","url":"https://github.com/cakephp/cakephp/commit/489a40fb7c6e597af33fe0f7264047afccb90d55"},{"type":"FIX","url":"https://github.com/cakephp/cakephp/commit/9f1ad970a3b72293d4a37e694276645f804e819f"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/cakephp/cakephp","events":[{"introduced":"eb61f6b7b7e9c39f91ccd5c48c82336128217e73"},{"introduced":"8eb600bb67a545e2d108f9ae64146f094a39bb55"},{"introduced":"c0175d821a5e42b934ad2a11927c5c5d0e659a0d"},{"fixed":"1b06accdee89c0993a8cbccc865bc43f079ed3c9"},{"fixed":"d1e4a9327c6c0f389ac27ac1c4fb79a9446bdf41"},{"fixed":"c0d21e0da4216d51268691af3ad803f0eecb3a11"},{"fixed":"138f2f61486532c29ee4d106da2a9848c1ff1ab3"},{"fixed":"489a40fb7c6e597af33fe0f7264047afccb90d55"},{"fixed":"9f1ad970a3b72293d4a37e694276645f804e819f"}],"database_specific":{"extracted_events":[{"introduced":"5.1.0"},{"fixed":"5.1.10"},{"introduced":"5.2.0"},{"fixed":"5.2.15"},{"introduced":"5.3.0"},{"fixed":"5.3.7"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["5.1.9","5.2.14","5.1.8","5.2.13","5.1.7","5.3.6","5.1.6","5.2.12","5.3.5","5.3.4","5.3.3","5.3.2","5.2.11","5.3.1","5.3.0","5.2.10","5.2.9","5.2.8","5.2.7","5.2.6","5.2.5","5.2.4","5.2.3","5.2.2","5.2.1","5.2.0","5.1.5","5.1.4","5.1.2","5.1.1","5.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-77635.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}