CVE-2026-63222
HIGH 7.5CVSS 3.1CodeIgniter: Path traversal in UploadedFile::move() when using client-provided filenames
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.
- Published
- 31 Jul 2026
- Last modified
- 8 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-22
- Also known as
- GHSA-hhmc-q9hp-r662
- Sources
- NVDJSONOSV GHSA-hhmc-q9hp-r662JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | codeigniter4/framework | < 4.7.4 | 4.7.4 |
References
- https://github.com/codeigniter4/CodeIgniter4/commit/20ebcf4694d96d3c97fbc3938e360730e4f54618 · WEB
- https://github.com/codeigniter4/CodeIgniter4/releases/tag/v4.7.4 · WEB
- https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-hhmc-q9hp-r662 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-63222 · ADVISORY
- https://github.com/codeigniter4/CodeIgniter4 · PACKAGE
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 31 Jul 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 7 Aug 2026)