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.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.6%top 49.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Packagistcodeigniter4/framework4.7.4GHSA-hhmc-q9hp-r662
Ubuntu:24.04:LTSphp-codeigniter-frameworkno fix listedUBUNTU-CVE-2026-63222
Ubuntu:26.04:LTSphp-codeigniter-frameworkno fix listedUBUNTU-CVE-2026-63222
Ubuntu:26.10php-codeigniter-frameworkno fix listedUBUNTU-CVE-2026-63222

Affected products (as reported)

VendorProductVersions
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

References