CodeIgniter4
CodeIgniter: 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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CNA · CWE-22
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
codeigniter4 CodeIgniter4
- < 4.7.4
Fixed in 4.7.4
Mitigation
Upgrade CodeIgniter4 to 4.7.4 or later.
References
- Vendor advisory github.com/codeigniter4/CodeIgniter4/security/…
- Patch github.com/codeigniter4/CodeIgniter4/commit/20…
- Release notes github.com/codeigniter4/CodeIgniter4/releases/…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.