Arbitrary file upload in CodeIgniter4 - CVE-2026-48062

 

Arbitrary file upload in CodeIgniter4 - CVE-2026-48062

Published: May 23, 2026


Vulnerability identifier: #VU132173
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-48062
CWE-ID: CWE-434
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

CodeIgniter4

How to mitigate CVE-2026-48062

Install security update from vendor's website.

CodeIgniter4 - update to 4.7.3

External References

Related Security Bulletins