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…
Impact
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).
An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: high risk of data being read.
Affected products · Qualmy91
| Product | Affected versions |
|---|---|
| Toolbox for Asgaros Forum | through 1.2.4 Version 0 ≤1.2.4 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://www.wordfence.com/threat-intel/vulnerabilities/id/e99c031e-6ecb-4025-8ba9-59e8e6cd1b3e?source=cve
- 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#L237
- https://plugins.trac.wordpress.org/browser/toolbox-for-asgaros-forum/tags/1.2.4/Inc/Base/ImageUploadController.php#L60
- https://github.com/advisories/GHSA-3w5x-2jf4-84hf
- https://nvd.nist.gov/vuln/detail/CVE-2026-118521