Skip to main content
← All vulnerabilities
CVE-2026-63221GHSA-C9W5-RWH3-7PM9

CodeIgniter: SQL injection is possible via Query Builder deleteBatch() when used with where() conditions

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.7.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • codeigniter4 CodeIgniter4

    From 4.3.0 · fixed in 4.7.4

  • codeigniter4/frameworkPackagist

    From 4.3.0 · fixed in 4.7.4

References 3

GitHub · codeigniter4/CodeIgniter4