Path traversal in CodeIgniter4 - #VU169825

 

Path traversal in CodeIgniter4 - #VU169825

Published: November 23, 2026


Vulnerability identifier: #VU169825
CSH Severity: Medium
CVSS v4: 8.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

CodeIgniter4

Remediation

Install security update from vendor's website.

CodeIgniter4 - update to 4.7.6

External References

Related Security Bulletins