Vulnerability · Published Jul 31, 2026 · Assigned by GitHub_M
CVE-2026-63222CodeIgniter: Path traversal in UploadedFile::move() when using client-provided filenames
High 7.5
In plain English
A high-severity path traversal in CodeIgniter4 from codeigniter4. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 51% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | codeigniter4/framework | 4.7.4 | GHSA-hhmc-q9hp-r662 |
| Ubuntu:24.04:LTS | php-codeigniter-framework | no fix listed | UBUNTU-CVE-2026-63222 |
| Ubuntu:26.04:LTS | php-codeigniter-framework | no fix listed | UBUNTU-CVE-2026-63222 |
| Ubuntu:26.10 | php-codeigniter-framework | no fix listed | UBUNTU-CVE-2026-63222 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| codeigniter4 | CodeIgniter4 | < 4.7.4 |
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N