CVE-2026-63221
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 in version 4.7.4.
Severity
CRITICAL
CVSS v3
9.4
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H · source cna
Exploit chance (EPSS)
0.612%
chance of exploitation in the next 30 days
higher than 49.9% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-89: Improper Neutralization of Special Elements used in an SQL Command
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | yes |
| Technical impact | partial |
| Scored | 2026-07-31 |
Timeline
- 2026-07-31Published by the CNA04:03 UTC
- 2026-07-31CISA SSVC decision recordedsame day
- 2026-08-07GitHub advisory published (GHSA-c9w5-rwh3-7pm9)7 days after publication
Exploit and advisory records
GitHub advisory GHSA-c9w5-rwh3-7pm9, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Packagist codeigniter4/framework | from 4.3.0 before 4.7.4 | 4.7.4 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| codeigniter4 codeigniter4 |
References
- https://github.com/codeigniter4/CodeIgniter4/commit/f5e463b9a3e986389ce285963e51a7f1fab6559f
- https://github.com/codeigniter4/CodeIgniter4/releases/tag/v4.7.4
- https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-c9w5-rwh3-7pm9
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-63221'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-63221'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-63221'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-63221'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).