GHSA-ccrg-2qgf-h2fhCriticalCVSS 8.1
CodeIgniter4 before 4.7.6 contains an SQL injection vulnerability in Query::matchNamedBinds(),...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (4)
- https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-25rf-99hr-7pmr
- https://nvd.nist.gov/vuln/detail/CVE-2026-142150
- https://www.vulncheck.com/advisories/codeigniter4-before-4.7.6-sql-injection-via-named-bind-placeholders-in-query-builder
- https://github.com/advisories/GHSA-ccrg-2qgf-h2fh