home / blog

2026-12-02 · critical

CVE-2026-142155: Critical CodeIgniter4 upload issue

CodeIgniter4 before 4.7.5 vulnerable to upload validation bypass with RCE risk.

CVE-2026-142155: Critical CodeIgniter4 upload issue

CVE-2026-142155 is a critical vulnerability in CodeIgniter4 that allows attackers to bypass validations during file uploads. The is_image and mime_in rules accept filenames with trailing dots that conceal a PHP extension, and these rules accept a PHP extension before the final image extension. This allows uploading of malicious PHP files that can lead to remote code execution if applications keep client-supplied filenames in web directories that execute PHP.

The vulnerability has a CVSS score of 9.8, classifying it as critical. It has been identified and officially published on December 2, 2026 by the NVD. Social media signals show significant interest with 7 posts in the last 24 hours, indicating that the security community is actively monitoring this vulnerability.

In defense, it is essential to immediately update CodeIgniter4 to version 4.7.5 or later to resolve the vulnerability. It is also necessary to review file upload policies and ensure that uploaded files are not executed as PHP code. For already compromised instances, it is recommended to conduct forensic analysis to identify any malicious files already uploaded.

At a glance

What
Upload validation bypass in CodeIgniter4
Severity
Critical (CVSS 9.8)
Affected versions
CodeIgniter4 before 4.7.5
Fix
Update to version 4.7.5 or later
Status
Published on 2026-12-02
Action
Apply update and review uploaded files

Sources: NVD, CVE-2026-142155

← All articles