Arbitrary file upload in CodeIgniter4 - #VU155850
Published: October 15, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code.
The vulnerability exists due to insufficient filename validation in the is_image and mime_in upload validation rules when processing filenames with trailing dots that conceal a PHP extension. A remote attacker can upload a file with a specially crafted filename to execute arbitrary code.
Exploitation requires the application to preserve client-supplied filenames in a web-accessible directory whose server configuration executes the uploaded files as PHP.