# Toolbox for Asgaros Forum <= 1.2.4 - Authenticated (Subscriber+) Path Traversal to Arbitrary File Move/Deletion via Forum Post Inline Image Paths

- **ID:** WPSEC-2026-3600
- **Plugin:** Toolbox for Asgaros Forum (`toolbox-for-asgaros-forum`), https://wordpress.org/plugins/toolbox-for-asgaros-forum/
- **Affected versions:** from 1.1.0 before 1.2.5
- **Fixed in:** 1.2.5 (Update to 1.2.5 or later.)
- **Severity:** High 8.1 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H)
- **Weakness:** CWE-22
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-20)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/toolbox-for-asgaros-forum
- **Fix released:** 2026-11-19
- **Published:** 2026-11-20
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3600/

## Description

The Toolbox for Asgaros Forum plugin for WordPress is vulnerable to Path Traversal via the inline image paths in forum post content in all versions from 1.1.0 up to, and including, 1.2.4. This is due to insufficient validation of the temporary image filenames in the replace_temp_pics() function. The function moves these files from the plugin's temporary upload directory to its final upload directory when a forum post is saved, but its strpos() check does not reject a filename that begins with a slash followed by '../' sequences. This makes it possible for authenticated attackers who can post in the forum, with subscriber-level access and above, to move arbitrary files on the server, such as wp-config.php, into the uploads directory. This removes the files from their original location and can lead to a site takeover.

## References

- https://wpsec.com/vuln/WPSEC-2026-3600/
- https://plugins.svn.wordpress.org/toolbox-for-asgaros-forum/tags/1.2.5/
- https://wordpress.org/plugins/toolbox-for-asgaros-forum/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-3600/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
