CVE-2026-63223 Details
Description
CodeIgniter is a PHP full-stack web framework. Prior to 4.7.4, the is_image and mime_in upload validation rules do not independently enforce a safe client filename extension, allowing a remote attacker to upload executable content when an application preserves the client filename and stores uploads in a web-accessible script-enabled directory. Applications are impacted when they validate uploads using is_image or mime_in without an independent safe extension check (such as ext_in on patched versions), save uploaded files using the client-supplied filename, and place uploads in a web-accessible directory where PHP files can execute. This issue is fixed in version 4.7.4.
A vulnerability exists in CodeIgniter, a PHP web framework, in versions prior to 4.7.4. The issue arises in the file upload validation rules 'is_image' and 'mime_in', which do not adequately enforce safe client filename extensions. This flaw enables remote attackers to upload executable files if the application retains the original filename and stores uploads in a publicly accessible directory that allows script execution. The vulnerability can be exploited by uploading a file with a dangerous extension, such as '.php', disguised as an image, and then accessing it through the web.
Users are advised to upgrade to CodeIgniter version 4.7.4 or later. Additionally, uploaded files should be saved outside the public web root, preferably under 'writable/uploads'. When moving files, use the 'store()' method or the 'move()' method with a random name, instead of keeping the original client filename. If files must be uploaded to a public directory, disable script execution in that directory and manually check the client filename extension before moving the file. For image uploads, reject files with non-image extensions.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 31, 2026CISA-ADP
Assessed Jul 31, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/codeigniter4/CodeIgniter4/commit/b6e9a4fa1dca2df3d3f261bdf61532df8c6420aa | [email protected] | Source CodeVendor |
| https://github.com/codeigniter4/CodeIgniter4/releases/tag/v4.7.4 | [email protected] | Release NotesVendor |
| https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-mmj4-63m4-r6h5 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-434 | Unrestricted Upload of File with Dangerous Type | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| CodeIgniter | < 4.7.4 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 1, 2026 | CVE Modified | CISA-ADP |
| Jul 31, 2026 | New CVE Received | [email protected] |
Volerion