{"id":"CVE-2026-79752","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-79752","generatedAt":"2026-09-20T12:30:06.850Z","title":"An application that passes untrusted input to these parameters can permit SQL injection with confidentiality, integrity, and availability impact according to the database connection's privileges.","description":"CakePHP is a rapid development framework for PHP. Prior to 4.5.12, 4.6.5, 5.1.9, 5.2.14, and 5.3.7, FunctionsBuilder::cast, FunctionsBuilder::extract, FunctionsBuilder::datePart, and FunctionsBuilder::dateAdd in src/Database/FunctionsBuilder.php accept user-controlled dataType, part, or unit values and incorporate them into generated SQL as unescaped structural fragments. An application that passes untrusted input to these parameters can permit SQL injection with confidentiality, integrity, and availability impact according to the database connection's privileges. This issue is fixed in versions 4.5.12, 4.6.5, 5.1.9, 5.2.14, and 5.3.7.","published":"2026-09-17T15:16:52.000Z","lastModified":"2026-09-17T16:17:45.000Z","status":"Received","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"4.0","score":9.2,"severity":"CRITICAL","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/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/M"},"cwe":["CWE-89"],"affected":[],"epss":{"score":0.00462,"percentile":0.39285,"date":"2026-09-19","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (0.46%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"https://github.com/cakephp/cakephp/commit/3349584ca3a891afaff2dbc324d6b1c09fb880f0","source":"security-advisories@github.com"},{"url":"https://github.com/cakephp/cakephp/commit/3f4d13ea4280067f3381ecf935a8bef5b7cdcc2e","source":"security-advisories@github.com"},{"url":"https://github.com/cakephp/cakephp/commit/79e1d6bc6f3a50fa01805579076a02c77370c676","source":"security-advisories@github.com"},{"url":"https://github.com/cakephp/cakephp/commit/8699d6f38e25fe46fcc24f2b698809948e71ad7d","source":"security-advisories@github.com"},{"url":"https://github.com/cakephp/cakephp/commit/ab608711674ac662af7315c5cdf1e0fbe2000e45","source":"security-advisories@github.com"},{"url":"https://github.com/cakephp/cakephp/pull/19520","source":"security-advisories@github.com"},{"url":"https://github.com/cakephp/cakephp/pull/19528","source":"security-advisories@github.com"},{"url":"https://github.com/cakephp/cakephp/releases/tag/4.5.12","source":"security-advisories@github.com"},{"url":"https://github.com/cakephp/cakephp/releases/tag/4.6.5","source":"security-advisories@github.com"},{"url":"https://github.com/cakephp/cakephp/releases/tag/5.1.9","source":"security-advisories@github.com"},{"url":"https://github.com/cakephp/cakephp/releases/tag/5.2.14","source":"security-advisories@github.com"},{"url":"https://github.com/cakephp/cakephp/releases/tag/5.3.7","source":"security-advisories@github.com"},{"url":"https://github.com/cakephp/cakephp/security/advisories/GHSA-vjqc-q4mp-2rvf","source":"security-advisories@github.com"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-79752","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}