{"answers":{"affected":"20 open source packages ship an affected version, including cakephp/cakephp and cakephp/database.","exploited":"There is no known exploitation of CVE-2026-79752 in the wild and no public exploit code.","fix":"Upgrade cakephp/cakephp to a fixed version for your release line: 4.5.12, 4.6.5, 5.1.9 or 5.2.14.","what":"CVE-2026-79752 is a critical SQL injection vulnerability in cakephp, published on 17 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-79752 and fix it if it is affected.\n\nWhat it is: CVE-2026-79752 is a critical SQL injection vulnerability in cakephp, published on 17 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-79752 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- cakephp/cakephp (Packagist): affected all versions; fixed in 4.5.12\n- cakephp/cakephp (Packagist): affected all versions; fixed in 4.5.12\n- cakephp/cakephp (Packagist): affected from 4.6.0; fixed in 4.6.5\n- cakephp/cakephp (Packagist): affected from 4.6.0; fixed in 4.6.5\n- cakephp/cakephp (Packagist): affected from 5.0.0; fixed in 5.1.9\n- cakephp/cakephp (Packagist): affected from 5.0.0; fixed in 5.1.9\n- cakephp/cakephp (Packagist): affected from 5.2.0; fixed in 5.2.14\n- cakephp/cakephp (Packagist): affected from 5.2.0; fixed in 5.2.14\n- cakephp/cakephp (Packagist): affected from 5.3.0; fixed in 5.3.7\n- cakephp/cakephp (Packagist): affected from 5.3.0; fixed in 5.3.7\n- cakephp/database (Packagist): affected from 3.0.0; fixed in 4.5.12\n- cakephp/database (Packagist): affected from 3.0.0; fixed in 4.5.12\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-79752/ (Markdown: https://insights.sbomify.com/CVE-2026-79752/index.md)","id":"CVE-2026-79752","markdown":"https://insights.sbomify.com/CVE-2026-79752/index.md","name":"CVE-2026-79752","record":{"aliases":["GHSA-vjqc-q4mp-2rvf","UBUNTU-CVE-2026-79752"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","data_modify","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"PHP web framework","requires_auth":"none","summary":"Attackers can execute arbitrary SQL commands via unescaped parameters in CakePHP FunctionsBuilder methods, compromising database confidentiality, integrity, and availability.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.2,"severity":"critical","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"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.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":"2026-09-19","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-09-19T20:36:59Z","kind":"github_poc","ref":"https://github.com/abraxas/CVE-2026-79752","stars":0,"title":"CVE-2026-79752 - CakePHP - Critical 9.2 - Unauthenticated GET /?type= - SQL Injection"}],"tier":"poc_unverified"},"has_fix":true,"headline":"CakePHP: Multiple methods in FunctionsBuilder vulnerable to SQL injection","id":"CVE-2026-79752","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"sql_injection","year":"2026"},"n_packages":20,"n_references":13,"next":{"headline":"Nuclio: Kaniko build tempDir command injection","id":"CVE-2026-79754"},"packages":[{"ecosystem":"Packagist","fixed":["4.5.12"],"introduced":["0"],"last_affected":[],"package":"cakephp/cakephp","purl":null,"source":"GHSA-vjqc-q4mp-2rvf"},{"ecosystem":"Packagist","fixed":["4.5.12"],"introduced":["0"],"last_affected":[],"package":"cakephp/cakephp","purl":"pkg:composer/cakephp/cakephp","source":"GHSA-vjqc-q4mp-2rvf"},{"ecosystem":"Packagist","fixed":["4.6.5"],"introduced":["4.6.0"],"last_affected":[],"package":"cakephp/cakephp","purl":null,"source":"GHSA-vjqc-q4mp-2rvf"},{"ecosystem":"Packagist","fixed":["4.6.5"],"introduced":["4.6.0"],"last_affected":[],"package":"cakephp/cakephp","purl":"pkg:composer/cakephp/cakephp","source":"GHSA-vjqc-q4mp-2rvf"},{"ecosystem":"Packagist","fixed":["5.1.9"],"introduced":["5.0.0"],"last_affected":[],"package":"cakephp/cakephp","purl":null,"source":"GHSA-vjqc-q4mp-2rvf"},{"ecosystem":"Packagist","fixed":["5.1.9"],"introduced":["5.0.0"],"last_affected":[],"package":"cakephp/cakephp","purl":"pkg:composer/cakephp/cakephp","source":"GHSA-vjqc-q4mp-2rvf"},{"ecosystem":"Packagist","fixed":["5.2.14"],"introduced":["5.2.0"],"last_affected":[],"package":"cakephp/cakephp","purl":null,"source":"GHSA-vjqc-q4mp-2rvf"},{"ecosystem":"Packagist","fixed":["5.2.14"],"introduced":["5.2.0"],"last_affected":[],"package":"cakephp/cakephp","purl":"pkg:composer/cakephp/cakephp","source":"GHSA-vjqc-q4mp-2rvf"},{"ecosystem":"Packagist","fixed":["5.3.7"],"introduced":["5.3.0"],"last_affected":[],"package":"cakephp/cakephp","purl":null,"source":"GHSA-vjqc-q4mp-2rvf"},{"ecosystem":"Packagist","fixed":["5.3.7"],"introduced":["5.3.0"],"last_affected":[],"package":"cakephp/cakephp","purl":"pkg:composer/cakephp/cakephp","source":"GHSA-vjqc-q4mp-2rvf"},{"ecosystem":"Packagist","fixed":["4.5.12"],"introduced":["3.0.0"],"last_affected":[],"package":"cakephp/database","purl":null,"source":"GHSA-vjqc-q4mp-2rvf"},{"ecosystem":"Packagist","fixed":["4.5.12"],"introduced":["3.0.0"],"last_affected":[],"package":"cakephp/database","purl":"pkg:composer/cakephp/database","source":"GHSA-vjqc-q4mp-2rvf"},{"ecosystem":"Packagist","fixed":["4.6.5"],"introduced":["4.6.0"],"last_affected":[],"package":"cakephp/database","purl":null,"source":"GHSA-vjqc-q4mp-2rvf"},{"ecosystem":"Packagist","fixed":["4.6.5"],"introduced":["4.6.0"],"last_affected":[],"package":"cakephp/database","purl":"pkg:composer/cakephp/database","source":"GHSA-vjqc-q4mp-2rvf"},{"ecosystem":"Packagist","fixed":["5.1.9"],"introduced":["5.0.0"],"last_affected":[],"package":"cakephp/database","purl":null,"source":"GHSA-vjqc-q4mp-2rvf"},{"ecosystem":"Packagist","fixed":["5.1.9"],"introduced":["5.0.0"],"last_affected":[],"package":"cakephp/database","purl":"pkg:composer/cakephp/database","source":"GHSA-vjqc-q4mp-2rvf"},{"ecosystem":"Packagist","fixed":["5.2.14"],"introduced":["5.2.0"],"last_affected":[],"package":"cakephp/database","purl":null,"source":"GHSA-vjqc-q4mp-2rvf"},{"ecosystem":"Packagist","fixed":["5.2.14"],"introduced":["5.2.0"],"last_affected":[],"package":"cakephp/database","purl":"pkg:composer/cakephp/database","source":"GHSA-vjqc-q4mp-2rvf"},{"ecosystem":"Packagist","fixed":["5.3.7"],"introduced":["5.3.0"],"last_affected":[],"package":"cakephp/database","purl":null,"source":"GHSA-vjqc-q4mp-2rvf"},{"ecosystem":"Packagist","fixed":["5.3.7"],"introduced":["5.3.0"],"last_affected":[],"package":"cakephp/database","purl":"pkg:composer/cakephp/database","source":"GHSA-vjqc-q4mp-2rvf"}],"prev":{"headline":"Missing authorization in mcphub","id":"CVE-2026-79750"},"products":["cakephp"],"published":"2026-09-17","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-09-17","vendors":["cakephp"]},"summary":"Attackers can execute arbitrary SQL commands via unescaped parameters in CakePHP FunctionsBuilder methods, compromising database confidentiality, integrity, and availability.","url":"https://insights.sbomify.com/CVE-2026-79752/"}