SQL injection in CodeIgniter4 - #VU169822

 

SQL injection in CodeIgniter4 - #VU169822

Published: November 23, 2026


Vulnerability identifier: #VU169822
CSH Severity: High
CVSS v4: 9.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

CodeIgniter4

Remediation

Install security update from vendor's website.

CodeIgniter4 - update to 4.7.6

External References

Related Security Bulletins