{"id":"CVE-2026-77635","aliases":["DEBIAN-CVE-2026-77635","EUVD-2026-65121","GHSA-fxf7-vhh8-7vpq","UBUNTU-CVE-2026-77635"],"status":"published","title":"CakePHP: FunctionsBuilder::jsonValue() vulerable to SQL injection with PostgresDriver","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.","severity":{"version":"4.0","score":9.2,"vector":"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","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00493,"percentile":0.42611,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-89"],"published":"2026-08-24T20:30:34Z","modified":"2026-11-03T21:20:43Z","exploits":[{"source":"pocgithub","id":"abraxas/CVE-2026-77635","title":"abraxas/CVE-2026-77635","date":"2026-09-19","url":"https://github.com/abraxas/CVE-2026-77635"}],"fixes":[{"ecosystem":"Packagist","package":"cakephp/cakephp","fixed_in":["5.3.7","5.2.15","5.1.10"],"sources":["ghsa","osv"]},{"ecosystem":"Packagist","package":"cakephp/database","fixed_in":["5.3.7","5.2.15","5.1.10"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"cakephp/cakephp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.3.0"},{"fixed":"5.3.7"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"cakephp/cakephp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.2.0"},{"fixed":"5.2.15"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"cakephp/cakephp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.1.0"},{"fixed":"5.1.10"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"cakephp/database","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.3.0"},{"fixed":"5.3.7"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"cakephp/database","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.2.0"},{"fixed":"5.2.15"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"cakephp/database","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.1.0"},{"fixed":"5.1.10"}]}]},{"source":"osv","ecosystem":"Debian:11","package":"cakephp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.10.11-2.1","2.10.24-1","2.10.24-2"]},{"source":"osv","ecosystem":"Packagist","package":"cakephp/cakephp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.3.0"},{"fixed":"5.3.7"}]}],"versions":["5.3.0","5.3.1","5.3.2","5.3.3","5.3.4","5.3.5","5.3.6"]},{"source":"osv","ecosystem":"Packagist","package":"cakephp/cakephp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.2.0"},{"fixed":"5.2.15"}]}],"versions":["5.2.0","5.2.1","5.2.10","5.2.11","5.2.12","5.2.13","5.2.14","5.2.2","5.2.3","5.2.4","5.2.5","5.2.6","5.2.7","5.2.8","5.2.9"]},{"source":"osv","ecosystem":"Packagist","package":"cakephp/cakephp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.1.0"},{"fixed":"5.1.10"}]}],"versions":["5.1.0","5.1.1","5.1.2","5.1.4","5.1.5","5.1.6","5.1.7","5.1.8","5.1.9"]},{"source":"osv","ecosystem":"Packagist","package":"cakephp/database","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.3.0"},{"fixed":"5.3.7"}]}],"versions":["5.3.0","5.3.2","5.3.3","5.3.4","5.3.5","5.3.6"]},{"source":"osv","ecosystem":"Packagist","package":"cakephp/database","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.2.0"},{"fixed":"5.2.15"}]}],"versions":["5.2.0","5.2.1","5.2.10","5.2.11","5.2.12","5.2.13","5.2.14","5.2.2","5.2.3","5.2.4","5.2.5","5.2.6","5.2.7","5.2.8","5.2.9"]},{"source":"osv","ecosystem":"Packagist","package":"cakephp/database","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.1.0"},{"fixed":"5.1.10"}]}],"versions":["5.1.0","5.1.1","5.1.2","5.1.4","5.1.5","5.1.6","5.1.8","5.1.9"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"cakephp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.2-1","2.8.0-1","2.8.0-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"cakephp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.10.11-2"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"cakephp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.10.11-2.1","2.10.24-1"]}],"products":[{"vendor":"cakephp","product":"cakephp"},{"vendor":"cakephp","product":"cakephp/database"}],"references":[{"url":"https://github.com/cakephp/cakephp/security/advisories/GHSA-fxf7-vhh8-7vpq","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/cakephp/cakephp/commit/138f2f61486532c29ee4d106da2a9848c1ff1ab3","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/cakephp/cakephp/commit/489a40fb7c6e597af33fe0f7264047afccb90d55","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/cakephp/cakephp/commit/9f1ad970a3b72293d4a37e694276645f804e819f","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/cakephp/cakephp/releases/tag/5.1.10","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/cakephp/cakephp/releases/tag/5.2.15","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/cakephp/cakephp/releases/tag/5.3.7","tags":["x_refsource_MISC","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77635","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-fxf7-vhh8-7vpq"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77635.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-77635","tags":["advisory"]},{"url":"https://github.com/cakephp/cakephp","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2026-77635","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-77635","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-77635","title":"CakePHP: FunctionsBuilder::jsonValue() vulerable to SQL injection with PostgresDriver","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.","status":"published","published":"2026-08-24T20:30:34.492Z","modified":"2026-08-25T13:31:40.225Z","cvss":[{"version":"4.0","score":9.2,"vector":"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","level":"critical","assessor":"cna"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:20:15.712761Z"}],"euvd":[{"id":"EUVD-2026-65121","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.","status":"published","published":"2026-08-24T20:30:34Z","modified":"2026-08-25T13:31:40Z","cvss":[{"version":"4.0","score":9.2,"vector":"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","level":"critical"}],"updated_at":"2026-11-02T18:01:33.385611Z"}],"ghsa":[{"id":"GHSA-fxf7-vhh8-7vpq","title":"CakePHP: FunctionsBuilder::jsonValue() vulerable to SQL injection with PostgresDriver","description":"### Impact\nThe `FunctionsBuilder::jsonValue($field, $jsonPath)` methods with the Postgres driver is vulnerable to SQL injection if user controlled data is supplied to the `$jsonPath` parameter.\n\n### Patches\n5.1.10, 5.2.15, 5.3.7 \n\n### Workarounds\nDon't provide user controlled data to these functions/parameters.","status":"published","published":"2026-09-08T20:56:41Z","modified":"2026-09-08T20:56:41Z","cvss":[{"version":"4.0","score":9.2,"vector":"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","level":"critical"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:41:14.764963Z"}],"nvd":[{"id":"CVE-2026-77635","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.","status":"published","published":"2026-08-24T21:17:48.457Z","modified":"2026-10-12T21:10:00.227Z","cvss":[{"version":"4.0","score":9.2,"vector":"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","level":"critical","assessor":"secondary"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:12:41.018848Z"}],"osv":[{"id":"CVE-2026-77635","title":"CakePHP: FunctionsBuilder::jsonValue() vulerable to SQL injection with PostgresDriver","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.","status":"published","published":"2026-08-24T20:30:34.492Z","modified":"2026-10-28T02:31:01.19453255Z","cvss":[{"version":"4.0","score":9.2,"vector":"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","level":"critical"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T15:45:17.44708Z"},{"id":"DEBIAN-CVE-2026-77635","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.","status":"published","published":"2026-08-24T21:17:48.457Z","modified":"2026-08-27T23:06:36.682159437Z","cvss":[{"version":"4.0","score":9.2,"vector":"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","level":"critical"}],"updated_at":"2026-11-02T15:46:03.502256Z"},{"id":"GHSA-fxf7-vhh8-7vpq","title":"CakePHP: FunctionsBuilder::jsonValue() vulerable to SQL injection with PostgresDriver","description":"### Impact\nThe `FunctionsBuilder::jsonValue($field, $jsonPath)` methods with the Postgres driver is vulnerable to SQL injection if user controlled data is supplied to the `$jsonPath` parameter.\n\n### Patches\n5.1.10, 5.2.15, 5.3.7 \n\n### Workarounds\nDon't provide user controlled data to these functions/parameters.","status":"published","published":"2026-09-08T20:56:41Z","modified":"2026-09-08T21:15:04.950966435Z","cvss":[{"version":"4.0","score":9.2,"vector":"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","level":"critical"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T15:46:47.119724Z"},{"id":"UBUNTU-CVE-2026-77635","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.","status":"published","published":"2026-08-24T21:17:00Z","modified":"2026-11-03T21:20:43.236861114Z","cvss":[{"version":"4.0","score":9.2,"vector":"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","level":"critical"}],"updated_at":"2026-11-03T21:41:13.880169Z"}]}}
