External Control of File Name or Path in flatpressblog/flatpress
Description
A path traversal vulnerability in flatpressblog/flatpress before 1.3 allows attackers to delete arbitrary files via a crafted filename in the mediamanager plugin.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
A path traversal vulnerability in flatpressblog/flatpress before 1.3 allows attackers to delete arbitrary files via a crafted filename in the mediamanager plugin.
Vulnerability
A path traversal vulnerability exists in the mediamanager plugin of flatpressblog/flatpress prior to version 1.3. The doItemActions function in fp-plugins/mediamanager/panels improperly sanitizes the deletefile GET parameter, allowing an attacker to specify path traversal sequences such as ../ to delete files outside the intended directory.
Exploitation
An attacker with access to the mediamanager panel (typically requiring authentication) can send a crafted request with a deletefile parameter containing path traversal characters (e.g., ../../config.php). The vulnerable code does not filter .., /, or \ sequences, enabling the attacker to traverse directories and delete arbitrary files.
Impact
Successful exploitation allows an attacker to delete arbitrary files on the server, potentially leading to data loss, denial of service, or further compromise if critical files (e.g., configuration files) are removed.
Mitigation
The vulnerability is fixed in commit 5d5c7f6 [1], which sanitizes the filename by removing .., /, and \ characters. This fix is included in version 1.3. Users should upgrade to flatpress version 1.3 or later. No workarounds are documented.
AI Insight generated on May 25, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2- flatpressblog/flatpressblog/flatpressv5Range: unspecified
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
2News mentions
0No linked articles in our index yet.