CVE-2026-142150
CodeIgniter4 before 4.7.6 SQL Injection via Named Bind Placeholders in Query Builder
- Severity
- critical CVSS 9.2 (v4.0)
- Affects
- CodeIgniter4 · codeigniter4
- Weakness
- CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
- Published
- 2 December 2026 by VulnCheck
CodeIgniter4 before 4.7.6 contains an SQL injection vulnerability in Query::matchNamedBinds(), which substitutes named :name: bind placeholders across the entire SQL text, including values already escaped into string literals. Remote attackers who can inject a :name: placeholder into a subquery, union, escaped where()/having() string, deleteBatch() condition, or $db->query() fragment while controlling that bind's value can break out of the literal and execute arbitrary SQL.
Our coverage
We have not written about this one. Know why it matters? Send a tip.