CVE-2026-118521: Toolbox for Asgaros Forum <= 1.2.4 - Authenticated (Subscriber+) Arbitrary File Deletion via Path Traversal via Forum Post 'message' Parameter
The Toolbox for Asgaros Forum plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the replacetemppics 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).
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Configuration
Disable the Inline Image Upload feature to prevent the vulnerable function from being reachable.
Toolbox for Asgaros Forum Inline Image Upload = disabled
Event History
Frequently Asked Questions
Is a default installation affected?
The vulnerable code is only reachable if an administrator has enabled the Inline Image Upload feature. That feature is disabled by default.
What level of access does an attacker need?
An attacker must be authenticated with at least Subscriber-level access. No user interaction is required after they have that access.
What is the impact beyond file deletion?
An attacker can delete arbitrary server files through path traversal in a forum post's message parameter. Deleting a critical file such as wp-config.php can potentially lead to remote code execution.
What can be done if updating is not immediately possible?
Disable the Inline Image Upload feature to prevent the vulnerable code path from being reachable. Also review and limit Subscriber or higher accounts, since exploitation requires authenticated access.