CVE-2026-5809 Details
Description
The wpForo Forum plugin for WordPress is vulnerable to Arbitrary File Deletion in versions up to and including 3.0.2. This is due to a two-step logic flaw: the topic_add() and topic_edit() action handlers accept arbitrary user-supplied data[*] arrays from $_REQUEST and store them as postmeta without restricting which fields may contain array values. Because 'body' is included in the allowed topic fields list, an attacker can supply data[body][fileurl] with an arbitrary file path (e.g., wp-config.php or an absolute server path). This poisoned fileurl is persisted to the plugin's custom postmeta database table. Subsequently, when the attacker submits wpftcf_delete[]=body on a topic_edit request, the add_file() method retrieves the stored postmeta record, extracts the attacker-controlled fileurl, passes it through wpforo_fix_upload_dir() which only rewrites legitimate wpforo upload paths and returns all other paths unchanged, and then calls wp_delete_file() on the unvalidated path. This makes it possible for authenticated attackers, with subscriber-level access and above, to delete arbitrary files writable by the PHP process on the server, including critical files such as wp-config.
A vulnerability allowing arbitrary file deletion has been identified in the wpForo Forum plugin for WordPress, affecting versions through 3.0.2. The issue arises from a logic flaw in the topic_add() and topic_edit() action handlers, which accept user-supplied data arrays from $_REQUEST and store them as postmeta without proper validation. Since the 'body' field is included in the allowed list, an attacker can inject a file path through the data[body][fileurl] parameter. This malicious file URL is then saved in the plugin's postmeta database table. When the wpftcf_delete[]=body parameter is sent in a topic_edit request, the add_file() method retrieves the poisoned file URL, bypasses validation, and deletes the file at the specified path. This vulnerability allows authenticated attackers with subscriber-level access and above to remove any files writable by the PHP process on the server, including sensitive files like wp-config.php.
No known patch available. It is recommended to review the vulnerability details and consider uninstalling the affected plugin.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 11, 2026CISA-ADP
Assessed Apr 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-73 | External Control of File Name or Path | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| wpForo Forum | <= 3.0.2 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 11, 2026 | New CVE Received | [email protected] |
Volerion