CVE-2026-63221 json
CodeIgniter: SQL injection is possible via Query Builder deleteBatch() when used with where() conditions
published 2026-07-31 3 mo ago modified 2026-09-08 2 mo ago also GHSA-c9w5-rwh3-7pm9 , EUVD-2026-51397
- cvss
- 9.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 49%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist codeigniter4/framework 4.7.4
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 3 mo ago
Exploit prediction
0.61% chance of exploitation in the next 30 days, higher than 49% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H |
| GitHub | 3.1 | 9.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | codeigniter4/framework | >=4.3.0, <4.7.4 |
4.7.4 |
Affected products
- codeigniter4 CodeIgniter4
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
-
github.com
/codeigniter4/CodeIgniter4/commit/f5e463b9a3e986389ce285963e51a7f1fab6559f
web
-
github.com
/codeigniter4/CodeIgniter4/security/advisories/GHSA-c9w5-rwh3-7pm9
web
-
github.com
/codeigniter4/CodeIgniter4/releases/tag/v4.7.4
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-63221
advisory
-
github.com
/codeigniter4/CodeIgniter4
package
Sources
- CVE List CVE-2026-63221
- GitHub Advisory GHSA-c9w5-rwh3-7pm9
- NVD CVE-2026-63221
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.