{"id":"CVE-2026-63222","published":"2026-07-31T04:06:19Z","modified":"2026-07-31T15:58:43Z","title":"CodeIgniter: Path traversal in UploadedFile::move() when using client-provided filenames","vendor":"codeigniter4","product":"CodeIgniter4","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00635,"percentile":0.51366,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-hhmc-q9hp-r662","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/codeigniter4/CodeIgniter4/commit/20ebcf4694d96d3c97fbc3938e360730e4f54618","tags":["x_refsource_MISC"]},{"url":"https://github.com/codeigniter4/CodeIgniter4/releases/tag/v4.7.4","tags":["x_refsource_MISC"]}],"priority":{"score":15.5,"factors":[{"name":"EPSS percentile","points":10.27},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"codeigniter4","affectedVersions":[{"vendor":"codeigniter4","product":"CodeIgniter4","versions":["< 4.7.4"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-31T15:57:05.724348Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"codeigniter4/framework","vulnerableRanges":["<4.7.4"],"patched":["4.7.4"],"from":["GHSA-hhmc-q9hp-r662"],"provenance":"source"}],"summary":{"text":"The flaw is a path traversal weakness in the UploadedFile::move() method of the CodeIgniter4 PHP web framework, where the client-provided filename is used without sanitisation when no destination argument is supplied. An attacker with network access and no authentication or user interaction can submit an upload that uses path traversal sequences to write content outside the intended directory, provided the application exposes an upload path that calls this method without a second argument.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:52Z"},"euvd":{"id":"EUVD-2026-51398","exploited":false,"provenance":"source"}}