CVE-2026-142155
9.8CriticalPublished Dec 2, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
Critical
0CVSS v3.110
- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User action
- None
- Impact
- Full C/I/A compromise
- Weakness
- CWE-434
What an attacker gets
Unauthenticated attackers can achieve remote code execution by uploading malicious PHP files. This occurs when the application stores user-uploaded files in a directory that executes PHP scripts.
Root cause
The file validation rules fail to properly sanitize filenames containing trailing dots or multiple extensions, allowing PHP files to bypass image-only restrictions.
Affected versions
CodeIgniter4 before 4.7.5
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Fix & remediation
Upgrade to CodeIgniter4 version 4.7.5 or later. Ensure that all user-uploaded files are stored in a directory where PHP execution is explicitly disabled via web server configuration.
$ composer update codeigniter4/frameworkAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
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.
References
Related Critical CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1421537.5HighAuthenticated attackers can execute arbitrary PHP code or include local files by manipulating view data keys. This occurs when an attacker controls input passed to the Parser or View rendering methods.
- CVE-2026-1421548.8HighAuthenticated attackers can execute arbitrary PHP code on the server. This requires the attacker to have permission to edit template source files.
- CVE-2026-1421508.1HighRemote attackers can execute arbitrary SQL commands to read or modify database contents. This requires the attacker to control input that is passed to specific Query Builder methods containing named bind placeholders.
- CVE-2026-887669.3CriticalLocal attackers can achieve arbitrary code execution with system privileges by sending a crafted APDU command to the VSIM service. This exploit requires local access to the device.
- CVE-2026-882539.8CriticalRemote attackers can achieve arbitrary code execution by sending a malformed JPEG image. No authentication or user interaction is required.
- CVE-2026-600519.8CriticalUnauthenticated attackers can modify device configurations via the MQTT service. This leads to a total loss of confidentiality, integrity, and availability.