Threat Feed

CVE-2026-142150: CodeIgniter4 · SQL injection

Exploitation: None known · CVSS 9.2 Critical · Unauthenticated · Published 2026-12-02

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.

Fix

Upgrade to 4.7.6.

Vendor advisory

Affected versions

ProductVulnerableFixed in
CodeIgniter40 before 4.7.64.7.6

Seen in 2 sources