{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-77635","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.","descriptionLong":"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":"2026-08-24T20:30:34.492Z","updated":"2026-10-28T02:31:01.194532550Z","reserved":"2026-08-20T20:52:01.928Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"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","rating":"critical","source":"GitHub_M"},"metrics":[{"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","rating":"critical","source":"GitHub_M"},{"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","rating":"critical","source":"github.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"critical","source":"GitHub"}],"rating":"critical","products":["cakephp","cakephp/database"],"affectedProducts":[{"vendor":"cakephp","product":"cakephp","defaultStatus":null,"versions":[{"version":">= 5.1.0, < 5.1.10","status":"affected"},{"version":">= 5.2.0, < 5.2.15","status":"affected"},{"version":">= 5.3.0, < 5.3.7","status":"affected"}],"platforms":[]},{"vendor":"cakephp","product":"cakephp/database","defaultStatus":null,"versions":[{"version":">= 5.1.0, < 5.1.10","status":"affected"},{"version":">= 5.2.0, < 5.2.15","status":"affected"},{"version":">= 5.3.0, < 5.3.7","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"cakephp/cakephp","purl":"pkg:composer/cakephp/cakephp","ranges":[">=5.3.0 <5.3.7",">=5.2.0 <5.2.15",">=5.1.0 <5.1.10"],"fixed":["5.3.7","5.2.15","5.1.10"],"advisory":"GHSA-fxf7-vhh8-7vpq"},{"ecosystem":"Packagist","name":"cakephp/database","purl":"pkg:composer/cakephp/database","ranges":[">=5.3.0 <5.3.7",">=5.2.0 <5.2.15",">=5.1.0 <5.1.10"],"fixed":["5.3.7","5.2.15","5.1.10"],"advisory":"GHSA-fxf7-vhh8-7vpq"}],"cwes":["CWE-89"],"aliases":["GHSA-fxf7-vhh8-7vpq"],"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://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77635.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77635","tags":["advisory"]},{"url":"https://github.com/cakephp/cakephp","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total"},"epss":0.00493,"epssPercentile":0.43094,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-77635","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77635","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-77635","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-fxf7-vhh8-7vpq","ok":true,"note":"GHSA-fxf7-vhh8-7vpq"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-77635","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}