CodeIgniter disclosed a critical file upload validation flaw, tracked as CVE-2026-48062, that allows attackers to bypass the framework’s ext_in rule and upload files with dangerous extensions such as shell.php. The issue affects CodeIgniter versions prior to 4.7.3 and stems from the validator checking a MIME-derived guessed extension instead of the client-supplied filename extension. In vulnerable deployments, an attacker can submit a file containing GIF-like content while keeping a PHP filename, potentially leading to arbitrary code execution if the upload is stored with its original name in a web-accessible directory where server-side scripts can run.
The project addressed the bug in commit 2929934, tied to advisory GHSA-2gr4-ppc7-7mhx, by changing validation to inspect the client filename extension, reject files with no extension, and require the client extension to match the detected MIME type. Maintainers also added tests covering legitimate GIF uploads, mismatched extensions like shell.php, MIME-incompatible but otherwise allowed extensions such as .jpg for GIF content, and extensionless files. Organizations using CodeIgniter were urged to upgrade to a fixed release, harden upload validation, sanitize filenames, and store uploaded content outside web-accessible paths.

Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.
2 events from the most recent confirmed update back to the earliest known activity.
CVE-2026-48062 was disclosed as a critical vulnerability affecting CodeIgniter versions prior to 4.7.3. The flaw allowed attackers to bypass `ext_in` extension checks by uploading files such as `shell.php` with GIF-like content, potentially leading to arbitrary code execution in vulnerable deployments.
CodeIgniter merged commit 2929934 to fix a security issue in the `ext_in` file upload validation rule. The change made validation check the client filename extension, reject extensionless uploads, and verify the client extension matches the detected MIME type, with new tests added for bypass scenarios.
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
2 references tracked. Mallory keeps watching after this page renders.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.