Skip to content
OpenAdvisories
Critical · 9.8 CVE-2026-142155 EUVD-2026-141463GHSA-q5xr-c38q-hfh2

CodeIgniter4 before 4.7.5 Upload Validation Bypass via Trailing Dots and PHP Extensions

Published Dec 2, 2026 · Updated Dec 2, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
codeigniter4 CodeIgniter4 < 4.7.5 4.7.5

References