Path traversal in CodeIgniter4 - #VU169825
Published: November 23, 2026
Vulnerability details
The vulnerability allows a remote attacker to delete files outside the configured cache directory that the PHP process has permission to delete, potentially causing application data loss or denial of service.
The vulnerability exists due to path traversal in FileHandler::deleteMatching() when resolving cache key patterns without checking whether the matched files are inside the cache directory. A remote attacker can supply input through an application that uses the file cache handler and exposes control over all or part of a deletion pattern to delete files outside that directory.