CVE-2026-118521: The Toolbox for Asgaros Forum plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the replace_temp_pics f…
- Source:
- NVD CVE API 2.0
- Published:
- Fetched:
- Updated:
- Affects:
- php
https://nvd.nist.gov/vuln/detail/CVE-2026-118521 ↗
The Toolbox for Asgaros Forum plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the replace_temp_pics function in all versions up to, and including, 1.2.4. This makes it possible for authenticated attackers, with subscriber-level access and above, to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php). This vulnerability is only reachable when the site administrator has enabled the Inline Image Upload feature (disabled by default). References: https://plugins.trac.wordpress.org/browser/toolbox-for-asgaros-forum/tags/1.2.4/Inc/Base/ImageUploadController.php#L237 https://plugins.trac.wordpress.org/browser/toolbox-for-asgaros-forum/tags/1.2.4/Inc/Base/ImageUploadController.php#L276 https://plugins.trac.wordpress.org/browser/toolbox-for-asgaros-forum/tags/1.2.4/Inc/Base/ImageUploadController.php#L60 https://www.wordfence.com/threat-intel/vulnerabilities/id/e99c031e-6ecb-4025-8ba9-59e8e6cd1b3e?source=cve