CVE-2026-142155 — CodeIgniter4
One of 7 CodeIgniter4 vulnerabilities published together by NVD: our article covers all of them.
PHPWebVulnerabilitiesResearch article
CodeIgniter4 Upload Validation Bypass Enables Remote Code Execution
| CVE | CVE-2026-142155 |
|---|---|
| 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-142155 impacts CodeIgniter4 versions prior to 4.7.5, allowing attackers to bypass upload validation and execute arbitrary code. The CVSS 3.1 score is 9.8 CRITICAL, assigned by disclosure@vulncheck.com. The reviewed sources do not mention any confirmed exploitation. The main recommendation is to upgrade to the fixed version 4.7.5 [1].
Key points
- CVE-2026-142155 enables remote code execution through an upload validation bypass [1].
- The CVSS 3.1 score is 9.8 CRITICAL, assigned by disclosure@vulncheck.com [1].
- The vulnerability impacts CodeIgniter4 versions before 4.7.5 [1].
- CVE-2026-142155 is not included in the CISA KEV catalog [2].
- The main action is to upgrade to CodeIgniter4 version 4.7.5 [1].
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS 4.0 | CVSS 3.1 |
|---|---|---|---|---|---|
| CVE-2026-142155 | CodeIgniter | CodeIgniter4 | CWE-434 | 9.3 CRITICAL, scored by disclosure@vulncheck.com | 9.8 CRITICAL, scored by disclosure@vulncheck.com |
| Published | Last Modified | Record Status | |||
| 2026-12-02T15:17:26 | 2026-12-02T15:17:26 | Received |
Vulnerability description
CodeIgniter4 versions before 4.7.5 allow attackers to bypass upload validation by using filenames that include trailing dots to hide PHP extensions. These filenames can be accepted by the isimage and mimein rules, as well as the extin rule, enabling remote code execution when the application keeps client-provided filenames in a web directory that runs PHP [1].
Attack surface and exploitation prerequisites
The CVSS 3.1 vector indicates that the vulnerability requires no user interaction and no privileges. The attack can be launched over a network, and it has a high impact on confidentiality, integrity, and availability [1].
Impact analysis
An adversary may place such files on a server to gain remote code execution if an app stores filenames supplied by the client inside a PHP-executing web folder [1]. The CVSS 3.1 vector highlights the high impact on the confidentiality, integrity, and availability of the system [1].
Affected products and versions
| Affected Version | Fixed Version |
|---|---|
| CodeIgniter4 < 4.7.5 | 4.7.5 |
Exploitation and threat intelligence status
CVE-2026-142155 is not listed in the CISA KEV catalog as of December 2, 2026. The reviewed sources do not provide any evidence of exploitation [2].
Detection and exposure assessment
To assess whether an organization is at risk, check if they are running CodeIgniter4 versions below 4.7.5 [1].
Remediation
The vulnerability is resolved in CodeIgniter4 version 4.7.5 [1].
Remediation checklist
- Upgrade CodeIgniter4 to version 4.7.5 [1].
- Review and enhance custom upload validation logic to prevent filename manipulation.
- Monitor web server logs for suspicious file uploads or execution attempts.
- Limit web directory permissions to prevent execution of uploaded files.
Evidence gaps
- The sources do not detail the technical mechanism of the upload validation bypass.
- The sources do not provide any indicators of compromise.
- The sources do not offer a mitigation strategy for the vulnerability.
- The sources do not describe the exact configuration that enables the exploit.
- The sources do not mention any detection methods beyond version checks.
References
- CVE-2026-142155 record. NIST National Vulnerability Database (NVD), 2026-12-02. https://nvd.nist.gov/vuln/detail/CVE-2026-142155. 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.5 has an upload validation bypass: the is_image and mime_in rules accept filenames whose trailing dots conceal a PHP extension, and these rules and ext_in accept a PHP extension before the final image extension. Attackers can upload such files to achieve remote code execution when applications keep client-supplied filenames in a web directory that executes PHP.
Severity breakdown
Critical · 9.3
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- no
- User action needed
- no
- Impact
- high on confidentiality, integrity and availability
- Impact on other systems
- none
Weakness
- CWE-434: Unrestricted Upload of File with Dangerous Type
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| CodeIgniter4 | < 4.7.5 | 4.7.5 |
References by type
Vendor advisories
Other references
Affected
- CodeIgniter4
Frequently asked questions
What is CVE-2026-142155?
CVE-2026-142155 impacts CodeIgniter4 versions prior to 4.7.5, allowing attackers to bypass upload validation and execute arbitrary code. The CVSS 3.1 score is 9.8 CRITICAL, assigned by disclosure@vulncheck.com. The reviewed sources do not mention any confirmed exploitation. The main recommendation is to upgrade to the fixed version 4.7.5. Weakness type: Unrestricted Upload of File with Dangerous Type (CWE-434).
How severe is CVE-2026-142155?
CVE-2026-142155 has a CVSS 4.0 base score of 9.3 (critical), from the CNA (vulncheck.com). An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-142155 being exploited?
Not as far as is known: CVE-2026-142155 is not in CISA's Known Exploited Vulnerabilities catalog as of December 2, 2026.
Which versions are affected by CVE-2026-142155?
CodeIgniter4 < 4.7.5 (fixed in 4.7.5).
How do I fix CVE-2026-142155?
Upgrade CodeIgniter4 to version 4.7.5. Review and enhance custom upload validation logic to prevent filename manipulation. Monitor web server logs for suspicious file uploads or execution attempts.