{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-63221","id":"CVE-2026-63221","title":"CodeIgniter: SQL injection is possible via Query Builder deleteBatch() when used with where() conditions","description":"CodeIgniter is a PHP full-stack web framework. From 4.3.0 through 4.7.3, Query Builder deleteBatch() substitutes bound values from where() conditions into generated SQL while ignoring their escape flags, allowing user-controlled condition values to be interpreted as SQL. This affects only the deleteBatch() code path. Regular delete() operations escape where() binds correctly. This issue is fixed i","descriptionLong":"CodeIgniter is a PHP full-stack web framework. From 4.3.0 through 4.7.3, Query Builder deleteBatch() substitutes bound values from where() conditions into generated SQL while ignoring their escape flags, allowing user-controlled condition values to be interpreted as SQL. This affects only the deleteBatch() code path. Regular delete() operations escape where() binds correctly. This issue is fixed in version 4.7.4.","published":"2026-07-31T04:03:34.352Z","updated":"2026-10-28T02:30:45.793577807Z","reserved":"2026-07-15T22:19:06.907Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":9.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"3.1","score":9.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H","rating":"critical","source":"GitHub_M"},{"version":"3.1","score":9.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H","rating":"critical","source":"github.com"},{"version":"3.1","score":9.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":["CodeIgniter4"],"affectedProducts":[{"vendor":"codeigniter4","product":"CodeIgniter4","defaultStatus":null,"versions":[{"version":">= 4.3.0, < 4.7.4","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"codeigniter4/framework","purl":"pkg:composer/codeigniter4/framework","ranges":[">=4.3.0 <4.7.4"],"fixed":["4.7.4"],"advisory":"GHSA-c9w5-rwh3-7pm9"}],"cwes":["CWE-89"],"aliases":["GHSA-c9w5-rwh3-7pm9"],"references":[{"url":"https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-c9w5-rwh3-7pm9","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/codeigniter4/CodeIgniter4/commit/f5e463b9a3e986389ce285963e51a7f1fab6559f","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/codeigniter4/CodeIgniter4/releases/tag/v4.7.4","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63221.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63221","tags":["advisory"]},{"url":"https://github.com/codeigniter4/CodeIgniter4","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00612,"epssPercentile":0.50119,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-63221","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63221","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-63221","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-c9w5-rwh3-7pm9","ok":true,"note":"GHSA-c9w5-rwh3-7pm9"},{"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-63221","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}