Skip to content
OpenAdvisories
High · 7.5 CVE-2026-63222 EUVD-2026-51398GHSA-hhmc-q9hp-r662

CodeIgniter: Path traversal in UploadedFile::move() when using client-provided filenames

Published Jul 31, 2026 · Updated Jul 31, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
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

EcosystemPackageAffectedFixedRecord
Packagist codeigniter4/framework < 4.7.4 4.7.4 GHSA-hhmc-q9hp-r662

References