Arbitrary file upload in CodeIgniter4 - CVE-2026-48062
Published: May 23, 2026
CodeIgniter4
Detailed vulnerability description
The vulnerability allows a remote attacker to execute arbitrary code.
The vulnerability exists due to unrestricted upload of file with dangerous type in the ext_in upload validation rule when validating uploaded files. A remote attacker can upload a specially crafted file to execute arbitrary code.
Exploitation requires the application to accept user-controlled uploads, preserve the original client filename when saving the file, place the upload in a web-accessible directory, and allow executable files to run from that directory.