CVE Catalog

CVE-2026-142155

CriticalCVSS 9.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
0.98%

63th percentile - higher than 63% of all known CVEs

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.

Risk Assessment

An attacker can upload a file that is executed as PHP, leading to remote code execution and compromise of the application server.

Recommendation

Update CodeIgniter4 to version 4.7.5 or later. Do not store client-supplied filenames in directories that execute PHP.

Other vulnerabilities in CodeIgniter4

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS