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 extensi…
- CVSS
- 9.8Critical
- Chance of exploitation (EPSS)
- 0.98%
- Published
- Dec 2, 2026
- In the news
- Not yet
What to do
A critical unsafe file upload flaw in Codeigniter4 that can be attacked over the network without logging in. No attacks are reported yet, but patch it soon.
Action: Apply the vendor's update or follow its advisory.
Fixed in: 4.7.5
Affected versions
- Codeigniter4
- Before 4.7.5
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.
Affected products
Get alerts for these →Timeline 1
Latest change: CVE-2026-142155 published (CVSS 9.8) (Dec 2, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Wed, Dec 2, 2026
- CVECVE-2026-142155 published (CVSS 9.8)CVE Program · 14:37 UTC
References 2
- github.com Vendor Advisory /codeigniter4/CodeIgniter4/security/advisories/GHSA-4hwf-v4mp-hf6c
- www.vulncheck.com /advisories/codeigniter4-before-4.7.5-upload-validation-bypass-via-trailing-dots-and-php-extensions