CVE-2026-142155: Vulnerability in CodeIgniter4
Critical. 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.
CWE-434
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-q5xr-c38q-hfh2
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-434
- Published
- 2 Dec 2026
- Last change
- 3 Dec 2026
Affected products
Affected versions and the first fixed release
- CodeIgniter4 Before 4.7.5. Fixed in 4.7.5
Advisories
Vendor and security advisories
- github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-4hwf-v4mp-hf6c
- vulncheck.com/advisories/codeigniter4-before-4.7.5-upload-validation-bypass-via-trailin...
Related
- CodeIgniter4 vulnerabilities Recent advisories, watch this product