Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-142150: critical-severity vulnerability (CVSS 9.2) in codeigniter4 CodeIgniter4.
What happened
Original description from the source: 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.
Why it matters
Critical severity, CVSS 9.2.
Affected products and versions
codeigniter4 CodeIgniter4 < 4.7.6; codeigniter4 CodeIgniter4 4.7.6 (fixed in 4.7.6)
| Product | Versions | Fixed in |
|---|---|---|
| codeigniter4 CodeIgniter4 | < 4.7.6 | — |
| codeigniter4 CodeIgniter4 | 4.7.6 | 4.7.6 |
Action recommended by the source
Upgrade to a fixed version: 4.7.6.
Fixed in: 4.7.6
Sources and references
- https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-25rf-99hr-7pmr — CVE Program
- https://www.vulncheck.com/advisories/codeigniter4-before-4.7.6-sql-injection-via-named-bind-placeholders-in-query-builder — CVE Program
Weaknesses (CWE): CWE-89
Relevant change history
Published
Preliminary advisory published.