Skip to main content
VulnerabilityPublished

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

Affects codeigniter4/frameworkSource GCVE Database

0
Compare

Not known to be exploited · CVSS 7.5 High : upgrade to 4.7.4 soon.

Data as of 7 Nov 2026, 23:24 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 50% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 4.7.4
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 7 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 8 Nov 2026.

What to do

Upgrade codeigniter4/framework to 4.7.4.

Affected software

ProductAffectedFixed in
Packagistcodeigniter4/frameworkAffected
  • <4.7.4
Fixed in
  • 4.7.4

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade CodeIgniter 4 to version 4.7.4 or later, which includes a patch that sanitizes the default filename used by UploadedFile::move() when no second argument is provided. If immediate upgrade is not possible, use generated filenames (e.g., getRandomName()) or sanitize client-provided filenames before passing them as the second argument to move(). Note that the patch does not sanitize filenames explicitly passed by the caller, so application-level sanitization remains necessary in those cases.

Description

CodeIgniter 4 versions prior to 4.7.4 have a path traversal vulnerability in the UploadedFile::move() method when called without a second argument. The method uses the client-provided filename without sanitization, allowing attackers to write files outside the intended directory by supplying filenames with path traversal sequences. The vulnerability is fixed in version 4.7.4, which sanitizes the default filename. Applications explicitly passing client filenames as the second argument remain responsible for sanitization.

References

Community reviews

Loading reviews…