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

Home › Vulnerabilities › CodeIgniter4

Critical 9.3 7 CVEs Analysis

CodeIgniter4 batch: seven flaws, including critical upload bypass and SQL injection

NVD published seven CodeIgniter4 vulnerabilities on 2026-12-02, covering upload validation, SQL injection, code injection, information disclosure and cross-site scripting. Two are rated critical, and the records name fixed releases of 4.7.5 for most entries and 4.7.6 for the SQL injection.

What to look into

  • 7 vulnerabilities in CodeIgniter4: 2 critical, 3 high, 2 medium (CVSS up to 9.3).
  • None of them is known to be exploited yet.
  • Start with CVE-2026-142155 (9.3 critical): CodeIgniter4 Upload Validation Bypass Enables Remote Code Execution. An attacker without an account can exploit this over the network, without any user action.
  • 5 of 7 can be attacked over the network without logging in, 4 of them without anyone clicking anything.
  • Kinds of flaws: Unrestricted Upload of File with Dangerous Type (×2); Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection'); Improper Control of Generation of Code ('Code Injection'); Improper Cleanup on Thrown Exception.
EmailPHPVulnerabilitiesWeb

Key points

  • Two CRITICAL flaws: an upload validation bypass (CVE-2026-142155) and an SQL injection in Query::matchNamedBinds() (CVE-2026-142150).
  • The upload bypass can lead to remote code execution where client filenames sit in a PHP-executing web directory, per the record.
  • Three HIGH flaws cover template code injection, view data key collisions and credential exposure in reused CURLRequest clients.
  • Fixed releases are named as 4.7.5 and 4.7.6; the XSS record (CVE-2026-142138) names no fix.
  • The records do not state that any of these flaws has been exploited.

Overview

NVD published seven CodeIgniter4 vulnerabilities on 2026-12-02. The batch spans upload validation, SQL injection, code injection, information disclosure and cross-site scripting. Most records name releases before 4.7.5 as affected, while the SQL injection record names 4.7.6.

Most severe issues

CVE-2026-142155 (CRITICAL, CVSS 9.3) is an upload validation bypass in the isimage and mimein rules. Trailing dots can hide a PHP extension, and a PHP extension placed before the final image extension is also accepted. The record says this can lead to remote code execution when applications keep client-supplied filenames in a web directory that runs PHP.

CVE-2026-142150 (CRITICAL, CVSS 9.2) is an SQL injection in Query::matchNamedBinds(). The function substitutes :name: placeholders across the whole SQL text, including values already escaped into string literals. According to the record, a remote attacker who can inject a placeholder and control its value in certain query paths can break out of the literal and run arbitrary SQL.

Other flaws

CVE-2026-142154 (HIGH) allows less-trusted template editors, such as those who edit online email templates, to run PHP through View Parser conditional tags. CVE-2026-142153 (HIGH) lets colliding view data keys replace the template source or an included view path. CVE-2026-142151 (HIGH) leaves CURLRequest options in place after an exception, so a later request from a reused client may expose a previous Authorization header, Basic Auth credentials or request body.

CVE-2026-142152 (MEDIUM) lets an empty UPLOADERRNOFILE entry placed before a disallowed file get it past FileRules checks in optional multiple-file uploads. CVE-2026-142138 (MEDIUM) is a cross-site scripting flaw in the form helpers, which escape only the value key.

Exploitation and fixes

The records do not state that any of these flaws has been exploited. Fixed releases are named as 4.7.5 for most entries and 4.7.6 for CVE-2026-142150. CVE-2026-142138 is listed as affecting versions through 4.7.6, and its record names no fixed release. No workarounds are given in the records.

What to do

  1. Upgrade to CodeIgniter4 4.7.5 or later for the flaws the records fix in that release.
  2. Upgrade to CodeIgniter4 4.7.6 for CVE-2026-142150, the SQL injection.
  3. Review upload handling and avoid keeping client-supplied filenames in web-executable directories, until patched.
  4. Check the CVE-2026-142138 record for a fixed release, since none is named in the source.

Our article about all 7 vulnerabilities, written with AI assistance from the official records listed below. Each CVE's page has its details.

The 7 vulnerabilities

  • CVE-2026-142155 9.3 CodeIgniter4 Upload Validation Bypass Enables Remote Code Execution
  • CVE-2026-142150 9.2 CodeIgniter4 SQL Injection Vulnerability in Named Bind Placeholders
  • CVE-2026-142154 8.7 CodeIgniter4 before 4.7.5 contains a code injection vulnerability that allows less-trusted template editors to execute PHP code through unrestricted View Parser conditional tags. Attackers who can edit template source, such as online email…
  • CVE-2026-142151 8.2 CodeIgniter4 before 4.7.5 contains an information disclosure vulnerability in CURLRequest::request() that leaves request options on the client after an exception, even when shareOptions is false. Attackers receiving a later request from a…
  • CVE-2026-142153 7.7 CodeIgniter4 before 4.7.5 contains a code injection vulnerability because view data is extracted into the same scope as internal variables, letting colliding keys replace the trusted template source or an included view path. Attackers who…
  • CVE-2026-142152 6.9 CodeIgniter4 before 4.7.5 contains a file upload validation bypass in FileRules that allows remote attackers to evade type, extension, size, and dimension checks. Attackers can place an empty UPLOADERRNOFILE entry before a disallowed file…
  • CVE-2026-142138 5.3 CodeIgniter4 through 4.7.6 contains a cross-site scripting vulnerability in parseformattributes() and related form helpers that escape only the value key. Attackers who influence values passed to forminput(), formlabel(), formdropdown() or…

Frequently asked questions

How many CodeIgniter4 vulnerabilities were published on December 2, 2026?

7 vulnerabilities: 2 critical, 3 high, 2 medium, with CVSS scores up to 9.3.

Are any of them being exploited?

None of them is in CISA's Known Exploited Vulnerabilities catalog yet.

Which one should be fixed first?

CVE-2026-142155 (CVSS 9.3): CodeIgniter4 Upload Validation Bypass Enables Remote Code Execution.

Original records