EventsSecuring Finance in the Age of AI · Secure.com X ZIG Finance · London, 12 NovRegister now

CVE-2026-142150

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

9.2 CRITICALEPSS 0.56%Not in KEVNVD: Received

Overview

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.

Severity

ScoreSeverityVersionTechnologies Affected
9.2CRITICAL4.0VulnCheck (CNA)CodeIgniter4
8.1HIGH3.1VulnCheck (CNA)

Details

CVE ID
CVE-2026-142150
Status
Received
Assigner (CNA)
VulnCheck
Published
Dec 2, 2026
Last modified
Dec 2, 2026, 3:17 PM UTC
Weaknesses
  • CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Affected Products

As published by the CNA in the CVE record.

codeigniter4CodeIgniter41 version range
  • before 4.7.6

References