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.
Metrics
Affected Vendors & Products
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Wed, 02 Dec 2026 14:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | CodeIgniter4 before 4.7.6 SQL Injection via Named Bind Placeholders in Query Builder | |
| First Time appeared |
Codeigniter
Codeigniter codeigniter |
|
| Weaknesses | CWE-89 | |
| CPEs | cpe:2.3:a:codeigniter:codeigniter:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Codeigniter
Codeigniter codeigniter |
|
| References |
| |
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: VulnCheck
Published:
Updated: 2026-12-02T14:37:50.113Z
Reserved: 2026-12-02T14:24:38.642Z
Link: CVE-2026-142150
No data.
No data.
No data.
OpenCVE Enrichment
No data.
Weaknesses