CVE-2026-63222 Details
Description
CodeIgniter is a PHP full-stack web framework. Prior to 4.7.4, calling UploadedFile::move() without a second argument uses the client-provided filename without sanitization, allowing a remote attacker to use path traversal sequences to write uploaded content outside the intended directory when the application exposes an upload path. This issue is fixed in version 4.7.4.
A path traversal vulnerability has been identified in CodeIgniter versions prior to 4.7.4. The issue arises when the UploadedFile::move() method is called without a second argument, as it uses the client-provided filename without proper sanitization. This allows remote attackers to exploit path traversal sequences to write uploaded content outside the designated directory, particularly when the application reveals the upload path. The vulnerability has been patched in version 4.7.4.
Users are advised to upgrade to CodeIgniter version 4.7.4 or later. If an immediate upgrade is not possible, sanitize client-provided filenames before passing them to the move() method, or use a generated filename.
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/20ebcf4694d96d3c97fbc3938e360730e4f54618 | [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-hhmc-q9hp-r662 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [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 |
|---|---|---|
| Jul 31, 2026 | CVE Modified | CISA-ADP |
| Jul 31, 2026 | New CVE Received | [email protected] |
Volerion