CodeIgniter4 before 4.7.6 SQL Injection via Named Bind Placeholders in Query Builder
- CVE-2026-142150
- GHSA-ccrg-2qgf-h2fh
- EUVD-2026-141468
Description
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.
Text from the CVE.org record.
Recommendation
CodeIgniter4
- If you run a version before 4.7.6update to 4.7.6 or later
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
CodeIgniter4
Affected versions Fixed in before 4.7.6 4.7.6
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.