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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| codeigniter4 | CodeIgniter4 | < 4.7.4 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | php-codeigniter-framework | No fix yet | — |
| Ubuntu 26.04 LTS | php-codeigniter-framework | No fix yet | — |
| Ubuntu 24.04 LTS | php-codeigniter-framework | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | codeigniter4/framework | < 4.7.4 | 4.7.4 | GHSA-hhmc-q9hp-r662 |