high

CodeIgniter4 `ext_in` Upload Validation Bypass Can Lead to Arbitrary Code Execution (GHSA-2gr4-ppc7-7mhx)

critical-cve-against-dependency · active

CodeIgniter4's `ext_in` file-upload validation rule checked the MIME-derived guessed extension instead of the actual client-provided filename extension, allowing a file like `shell.php` containing GIF-like content to pass validation. Apps that save uploads under their original filename in a web-accessible directory could be tricked into storing and executing malicious files. Fixed in v4.7.3.

Affected packages

Sources