CVE-2026-142150 — CodeIgniter4
One of 7 CodeIgniter4 vulnerabilities published together by NVD: our article covers all of them.
WebVulnerabilitiesResearch article
CodeIgniter4 SQL Injection Vulnerability in Named Bind Placeholders
| CVE | CVE-2026-142150 |
|---|---|
| Vendor and product | CodeIgniter4 |
| Published | December 02, 2026 15:50 UTC |
| Research cut-off | December 02, 2026 15:40 UTC |
| Sources reviewed | 2: NVD record (last modified 2026-12-02); CISA KEV catalog |
Executive summary
CVE-2026-142150 impacts CodeIgniter4 versions prior to 4.7.6, enabling SQL injection through named bind placeholders [1]. The vulnerability carries a CVSS 3.1 score of 8.1, classified as HIGH severity [1], and is not listed in CISA's Known Exploited Vulnerabilities Catalog as of 2026-12-02 [2]. The primary corrective action is to upgrade to the patched version 4.7.6.
Key points
- CVE-2026-142150 affects CodeIgniter4 versions before 4.7.6 [1].
- The vulnerability enables SQL injection via named bind placeholders [1].
- The CVSS 3.1 score is 8.1, HIGH severity, with the scorer being disclosure@vulncheck.com [1].
- CVE-2026-142150 is not listed in CISA's Known Exploited Vulnerabilities Catalog [2].
- Users should update to CodeIgniter4 4.7.6 to address the issue [1].
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS 4.0 | CVSS 3.1 |
|---|---|---|---|---|---|
| CVE-2026-142150 | CodeIgniter | CodeIgniter4 | CWE-89 | 9.2 CRITICAL, scored by disclosure@vulncheck.com | 8.1 HIGH, scored by disclosure@vulncheck.com |
| Published | Last Modified | Record Status | |||
| 2026-12-02T15:17:25 | 2026-12-02T15:17:25 | Received |
Vulnerability description
A vulnerability exists in CodeIgniter4's Query::matchNamedBinds() function, which mishandles named :name: bind placeholders. These placeholders are applied throughout the entire SQL text, even in areas where values are already escaped as string literals. Attackers can insert a :name: placeholder into a subquery, union, or escaped SQL fragment while having control over the bind's value, thereby executing arbitrary SQL commands [1].
Attack surface and exploitation prerequisites
The flaw is reachable over the network (AV:N) with high attack complexity (AC:H) and no privileges required (PR:N) [1]. No user interaction is necessary (UI:N). The attack involves an attacker inserting a :name: placeholder into a subquery, union, or escaped SQL fragment while controlling the bind's value [1].
Impact analysis
The CVSS 3.1 rating shows high impact to confidentiality, integrity and availability [1]. The CVSS 3.1 vector indicates a high impact on all three aspects [1].
Affected products and versions
| Affected | Fixed |
|---|---|
| CodeIgniter4 < 4.7.6 | CodeIgniter4 4.7.6 |
Exploitation and threat intelligence status
CVE-2026-142150 is not included in CISA's Known Exploited Vulnerabilities Catalog as of December 2, 2026. This absence does not confirm or deny whether the vulnerability has been exploited [2].
Detection and exposure assessment
Systems using CodeIgniter4 versions earlier than 4.7.6 are at risk. To assess exposure, compare the installed version with the affected range [1].
Remediation
The vulnerability is resolved in CodeIgniter4 4.7.6. Users should install this version to reduce the risk [1].
Remediation checklist
Evidence gaps
- The sources do not describe the internal workings of the affected component.
- The sources do not mention alternative solutions or mitigations.
- The sources do not outline specific attack scenarios or lifecycle steps.
- The sources do not provide signs of compromise or indicators of exploitation.
- The sources do not list any fixed versions beyond 4.7.6.
References
- CVE-2026-142150 record. NIST National Vulnerability Database (NVD), 2026-12-02. https://nvd.nist.gov/vuln/detail/CVE-2026-142150. Accessed 2026-12-02.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-12-02. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-12-02.
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.
Severity breakdown
Critical · 9.2
An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- high (only works under specific conditions)
- Special conditions
- only in some setups or conditions
- Login needed
- no
- User action needed
- no
- Impact
- high on confidentiality, integrity and availability
- Impact on other systems
- none
Weakness
- CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| CodeIgniter4 | < 4.7.6 | 4.7.6 |
References by type
Vendor advisories
Other references
Affected
- CodeIgniter4
Frequently asked questions
What is CVE-2026-142150?
CVE-2026-142150 impacts CodeIgniter4 versions prior to 4.7.6, enabling SQL injection through named bind placeholders. The vulnerability carries a CVSS 3.1 score of 8.1, classified as HIGH severity, and is not listed in CISA's Known Exploited Vulnerabilities Catalog as of 2026-12-02. The primary corrective action is to upgrade to the patched version 4.7.6. Weakness type: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (CWE-89).
How severe is CVE-2026-142150?
CVE-2026-142150 has a CVSS 4.0 base score of 9.2 (critical), from the CNA (vulncheck.com). An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
Is CVE-2026-142150 being exploited?
Not as far as is known: CVE-2026-142150 is not in CISA's Known Exploited Vulnerabilities catalog as of December 2, 2026.
Which versions are affected by CVE-2026-142150?
CodeIgniter4 < 4.7.6 (fixed in 4.7.6).
How do I fix CVE-2026-142150?
Upgrade CodeIgniter4 to version 4.7.6 or newer. Confirm all CodeIgniter4 installations fall within the affected range. Monitor for signs of SQL injection attempts.