BuzzPHP
LightDarkSystem

CodeIgniter: Uploaded file extension validation bypass in `is_image` and `mime_in` rules

Critical severity. Published 7 August 2026. Update codeigniter4/framework to 4.7.4 or later: composer update codeigniter4/framework.

Which versions are affected?

PackageAffected versionsFixed in
codeigniter4/framework (opens in a new tab)< 4.7.44.7.4

What should you do?

Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:

composer show codeigniter4/framework
composer audit

Advisory details

SeverityCriticalCVSS 9.8
Published
Updated
CVECVE-2026-63223 (opens in a new tab)
GHSAGHSA-mmj4-63m4-r6h5 (opens in a new tab)
WeaknessCWE-434

What the advisory says

Impact This is an unsafe file upload validation vulnerability that can lead to remote code execution in vulnerable application configurations.

Applications are impacted when they: - validate uploads using isimage or mimein without an independent safe extension check, such as extin on patched versions - save uploaded files using the client-supplied filename - place uploads in a web-accessible directory where PHP files can execute

Patches Upgrade to v4.7.4 or later.

Workarounds - Save uploads outside the public web root, preferably under writable/uploads. - Use $file-store() or $file-move($path, $file-getRandomName()) instead of preserving the original client filename.

Source: GHSA-mmj4-63m4-r6h5 (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .

Other recent advisories for this package

All Composer security advisories