Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Web

CVE-2026-142150 — CodeIgniter4

Critical · CVSS 9.2 First seen December 02, 2026

One of 7 CodeIgniter4 vulnerabilities published together by NVD: our article covers all of them.

WebVulnerabilities

Research article

CodeIgniter4 SQL Injection Vulnerability in Named Bind Placeholders

CVECVE-2026-142150
Vendor and productCodeIgniter4
PublishedDecember 02, 2026 15:50 UTC
Research cut-offDecember 02, 2026 15:40 UTC
Sources reviewed2: 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 IDVendorProductCWECVSS 4.0CVSS 3.1
CVE-2026-142150CodeIgniterCodeIgniter4CWE-899.2 CRITICAL, scored by disclosure@vulncheck.com8.1 HIGH, scored by disclosure@vulncheck.com
PublishedLast ModifiedRecord Status
2026-12-02T15:17:252026-12-02T15:17:25Received

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

AffectedFixed
CodeIgniter4 < 4.7.6CodeIgniter4 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

  1. Upgrade CodeIgniter4 to version 4.7.6 or newer [1].
  2. Confirm all CodeIgniter4 installations fall within the affected range [1].
  3. Monitor for signs of SQL injection attempts.

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

  1. 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. Vulnerability identification, Vulnerability description, Attack surface and exploitation prerequisites, Impact analysis, Affected products and versions, Remediation
  2. 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. Exploitation and threat intelligence status

Written with AI assistance from the 2 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Critical · 9.2 CVSS 4.0 base score 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.

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

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X · CVSS 3.1 8.1 from the CNA (vulncheck.com): CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Affected and fixed versions

ProductAffected versionsFixed in
CodeIgniter4< 4.7.64.7.6

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Other references

Details from NVD (public domain).

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.

Timeline & sources

References