CVE-2026-63221 json
CodeIgniter: SQL injection is possible via Query Builder deleteBatch() when used with where() conditions
published 3mo ago modified 2mo ago also EUVD-2026-51397 , GHSA-c9w5-rwh3-7pm9
- 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
- codeigniter codeigniter 4.7.4
Is CVE-2026-63221 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 3mo ago
Exploit prediction
0.61% chance of exploitation in the next 30 days, higher than 49% of all scored CVEs (FIRST EPSS, 2026-11-11).
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 Intel 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.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.