CVE-2026-63221
published critical CVSS 3.1 · 9.4CodeIgniter: SQL injection is possible via Query Builder deleteBatch() when used with where() conditions
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| codeigniter4 | — | CodeIgniter4>= 4.3.0, < 4.7.4 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.4 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| codeigniter4 | CodeIgniter4 | >= 4.3.0, < 4.7.4 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-89 CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
References
3Provider assertions
2GitHub_M · cna
CodeIgniter: SQL injection is possible via Query Builder deleteBatch() when used with where() conditions
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d8c0c0fe62f83ba424c8cf5e8a57dd49e49bf654c4911cbb284b82d0e7372305
- Ingested
- 23 Sep 2026, 09:25:23 UTC
- Source record
- Official CVE record