CVE Catalog

CVE-2026-142150

HighCVSS 8.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.56%

48th percentile - higher than 48% of all known CVEs

Summary

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.

Risk Assessment

An attacker could execute arbitrary SQL, potentially leading to data disclosure, modification, or deletion. This may compromise the confidentiality and integrity of the database.

Recommendation

Update CodeIgniter4 to version 4.7.6 or later and review the application for places where untrusted data reaches queries with named binds.

Other vulnerabilities in CodeIgniter4

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS