Skip to content
OpenAdvisories
High · 8.1 CVE-2026-142150 EUVD-2026-141468GHSA-ccrg-2qgf-h2fh

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

Published Dec 2, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
codeigniter4 CodeIgniter4 < 4.7.6 4.7.6

References