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.
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Sat, 05 Dec 2026 05:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 02 Dec 2026 14:45:00 +0000

Type Values Removed Values Added
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.
Title CodeIgniter4 before 4.7.6 SQL Injection via Named Bind Placeholders in Query Builder
First Time appeared Codeigniter
Codeigniter codeigniter
Weaknesses CWE-89
CPEs cpe:2.3:a:codeigniter:codeigniter:*:*:*:*:*:*:*:*
Vendors & Products Codeigniter
Codeigniter codeigniter
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.2, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-12-05T02:48:02.814Z

Reserved: 2026-12-02T14:24:38.642Z

Link: CVE-2026-142150

cve-icon Vulnrichment

Updated: 2026-12-05T02:47:58.299Z

cve-icon NVD

Status : Deferred

Published: 2026-12-02T15:17:25.760

Modified: 2026-12-05T03:19:48.747

Link: CVE-2026-142150

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-12-04T12:45:02Z

Weaknesses