


Perceptive Security
SOC/SIEM Consultancy

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 gener…
Published:
30 juli 2026 om 22:00:00
Alert date:
31 juli 2026 om 07:02:41
Source:
nvd.nist.gov
Web Technologies
A SQL injection vulnerability exists in CodeIgniter, a PHP full-stack web framework, affecting versions 4.3.0 through 4.7.3. The vulnerability resides in the Query Builder's deleteBatch() method, which substitutes bound values from where() conditions into generated SQL while ignoring their escape flags. This allows user-controlled condition values to be interpreted as raw SQL, enabling potential SQL injection attacks. The issue is isolated to the deleteBatch() code path; regular delete() operations handle where() binds correctly with proper escaping. The vulnerability was assigned CVE-2026-63221 and has been patched in version 4.7.4. A commit fix, release tag, and security advisory are available via the CodeIgniter4 GitHub repository. Users are advised to upgrade to version 4.7.4 immediately to mitigate the risk.
Technical details
Mitigation steps:
Affected products:
CodeIgniter 4.3.0
CodeIgniter 4.7.3
CodeIgniter PHP framework
Related links:
https://nvd.nist.gov/vuln/detail/CVE-2026-63221
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
Related CVE's:
Related threat actors:
IOC's:
This article was created with the assistance of AI technology by Perceptive.
