CVE-2026-142150

CodeIgniter4 before 4.7.6 SQL Injection via Named Bind Placeholders in Query Builder

Published Dec 2, 2026 CVSS 4.0 · 9.2 Critical EPSS n/a KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
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

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.2, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Dec 2, 2026, 2:37 PM
Reserved
Dec 2, 2026, 2:24 PM
Status
Received
Published
Dec 2, 2026, 3:17 PM
Modified
Dec 2, 2026, 3:17 PM