wpForo Forum <= 3.2.2 - Authenticated (Subscriber+) Arbitrary File Deletion via Path Traversal via 'theme' Parameter
- State
- Published
- Severity
- 6.5 Medium
- Published
- Nov 7, 2026
- Updated
- Nov 8, 2026
- Reserved
- Oct 13, 2026
Description
The wpForo Forum plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the theme_delete function in all versions up to, and including, 3.2.2 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 exploit chain is reachable only on sites where an administrator has created a custom wpForo secondary usergroup with a blank WordPress role and the 'mth' (Manage Themes) capability; on such sites, an attacker can self-register and claim that group via the unguarded wpforo_secondary_groupids[] POST field, bypassing the role-based group filter and gaining theme-management access as a Subscriber.
| Product | Versions |
|---|---|
| wpForo Forum tomdever | 3.2.2 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 6.5 Medium | Wordfence |
Weaknesses
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/268f05d4-5f93-4d89-aa7f-c8731599dbc7?source=cve
- https://plugins.trac.wordpress.org/browser/wpforo/tags/3.2.2/classes/Actions.php#L2409
- https://plugins.trac.wordpress.org/browser/wpforo/tags/3.2.2/classes/Actions.php#L2405
- https://plugins.trac.wordpress.org/browser/wpforo/tags/3.2.2/classes/Members.php#L1428
- https://plugins.trac.wordpress.org/browser/wpforo/tags/3.2.2/includes/functions.php#L1659
- https://wordpress.org/plugins/wpforo/#developers
- https://plugins.trac.wordpress.org/changeset?reponame=&new=3778162%40wpforo%2Ftags%2F3.2.3&old=3717441%40wpforo%2Ftags%2F3.2.2
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.