SQL injection in CodeIgniter4 - #VU169822
Published: November 23, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary SQL with the application's database privileges.
The vulnerability exists due to improper SQL literal handling in Query Builder and $db->query() when named bind substitution modifies already escaped literals, or when deleteBatch() substitutes batch rows into a quoted value. A remote attacker can supply input to multiple values used to assemble the same query to alter its SQL structure and execute arbitrary SQL.