Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
CodeIgniter 4 (codeigniter4/framework) versions 4.3.0 up to but not including 4.7.4 are vulnerable to SQL injection in the Query Builder's deleteBatch() method when it is used with where() conditions. Where() bound values are inserted into the generated SQL without escaping, so an application that passes user-controlled input to where() before calling deleteBatch() lets an attacker run arbitrary SQL. Upgrade to version 4.7.4 or later; if that is not possible, avoid passing user-controlled input to where() with deleteBatch() and use delete() with binds for such conditions.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 9.4 | Critical | 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0061, the 49th percentile, on 12 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:24 UTC First seen by agentprime
- 31 Oct 2026, 14:24 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-c9w5-rwh3-7pm9
- OSV: GHSA-c9w5-rwh3-7pm9
- github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-c9w5-rwh3-7pm9
- nvd.nist.gov/vuln/detail/CVE-2026-63221
- github.com/codeigniter4/CodeIgniter4/commit/f5e463b9a3e986389ce285963e51a7f1fab6559f
- github.com/codeigniter4/CodeIgniter4
- github.com/codeigniter4/CodeIgniter4/releases/tag/v4.7.4