FlatPress File Delete panel.mediamanager.file.php doItemActions path traversal
Description
A critical path traversal vulnerability in FlatPress's file deletion handler allows remote attackers to delete arbitrary files.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
A critical path traversal vulnerability in FlatPress's file deletion handler allows remote attackers to delete arbitrary files.
Vulnerability
A critical path traversal vulnerability exists in FlatPress, affecting the doItemActions function within the fp-plugins/mediamanager/panels/panel.mediamanager.file.php file of the File Delete Handler component. The vulnerability allows an attacker to manipulate the deletefile argument, leading to the deletion of files outside the intended directory. The issue is present in versions prior to the patch commit [2].
Exploitation
An attacker with network access can exploit this vulnerability by sending a crafted HTTP GET request to the vulnerable endpoint. The request must include a deletefile parameter containing path traversal sequences (e.g., ../). No authentication is required if the endpoint is publicly accessible, though the default configuration may require some level of access to the media manager interface (see [1] for discussion). The exploit does not require any special privileges beyond the ability to reach the vulnerable function.
Impact
Successful exploitation allows an attacker to delete arbitrary files on the server where FlatPress is installed. This could lead to data loss, denial of service, or further compromise as critical system files might be removed. The vulnerability has a high severity rating due to the potential impact on confidentiality, integrity, and availability.
Mitigation
The vulnerability is fixed by commit 5d5c7f6d8f072d14926fc2c3a97cdd763802f170 [2], which sanitizes the file name by removing path traversal characters (., /, \). Users should upgrade to a version that includes this commit or apply the patch manually. As of the publication date, there is no evidence of active exploitation in the wild (not listed in KEV).
AI Insight generated on May 27, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2Patches
0No patches discovered yet.
Vulnerability mechanics
No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.
References
4- github.com/flatpressblog/flatpress/commit/5d5c7f6d8f072d14926fc2c3a97cdd763802f170mitrepatch
- github.com/flatpressblog/flatpress/issues/179mitreissue-tracking
- vuldb.commitresignaturepermissions-required
- vuldb.commitrevdb-entrytechnical-description
News mentions
0No linked articles in our index yet.