# CVE-2026-63222: CodeIgniter: Path traversal in UploadedFile::move() when using client-provided filenames

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Published: 2026-07-31T04:06:19.448Z
- Modified: 2026-09-08T20:51:43.490Z
- Also known as: GHSA-hhmc-q9hp-r662
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- codeigniter4 CodeIgniter4: < 4.7.4
- codeigniter4/framework (Packagist): before 4.7.4

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-hhmc-q9hp-r662> (web)
- <https://github.com/codeigniter4/CodeIgniter4/commit/20ebcf4694d96d3c97fbc3938e360730e4f54618> (web)
- <https://github.com/codeigniter4/CodeIgniter4/releases/tag/v4.7.4> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-63222> (advisory)
- <https://github.com/codeigniter4/CodeIgniter4> (package)

## Sources

- CVE List: [CVE-2026-63222](https://www.cve.org/CVERecord?id=CVE-2026-63222), CVE Terms of Use, modified 2026-07-31
- GitHub Advisory Database: [GHSA-hhmc-q9hp-r662](https://github.com/advisories/GHSA-hhmc-q9hp-r662), CC-BY-4.0, modified 2026-08-07
- NVD: [CVE-2026-63222](https://nvd.nist.gov/vuln/detail/CVE-2026-63222), Public domain, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-63222 · Whole record: https://cve.day/CVE-2026-63222.json · Rebuilt by cve.day 2026-11-25T22:59:30.686Z
