CVE-2026-5809
published 2026-04-11CVE-2026-5809: 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…
PriorityP343high7.1CVSS 3.1
AVNACLPRLUINSUCLINAH
EPSS
0.50%
38.9th percentile
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.
Affected
1 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| tomdever | wpforo_forum | <= 3.0.2 | — |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-32mm-8hwv-mvwg: The wpForo Forum plugin for WordPress is vulnerable to Arbitrary File Deletion in versions up to and including 3
ghsa_unreviewed·2026-04-11
CVE-2026-5809 [HIGH] CWE-73 GHSA-32mm-8hwv-mvwg: The wpForo Forum plugin for WordPress is vulnerable to Arbitrary File Deletion in versions up to and including 3
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 file
VulDB
tomdever wpForo Forum Plugin up to 3.0.2 on WordPress topic_add body file inclusion
vuldb·2026-04-11·CVSS 7.1
CVE-2026-5809 [HIGH] tomdever wpForo Forum Plugin up to 3.0.2 on WordPress topic_add body file inclusion
A vulnerability was found in tomdever wpForo Forum Plugin up to 3.0.2 on WordPress. It has been rated as critical. The impacted element is the function topic_add. Performing a manipulation of the argument body results in file inclusion.
This vulnerability is cataloged as CVE-2026-5809. It is possible to initiate the attack remotely. There is no exploit available.
Upgrading the affected component is advised.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://plugins.trac.wordpress.org/browser/wpforo/tags/3.0.2/classes/Actions.php#L746https://plugins.trac.wordpress.org/browser/wpforo/tags/3.0.2/classes/Actions.php#L761https://plugins.trac.wordpress.org/browser/wpforo/tags/3.0.2/classes/PostMeta.php#L402https://plugins.trac.wordpress.org/browser/wpforo/tags/3.0.2/classes/PostMeta.php#L421https://plugins.trac.wordpress.org/browser/wpforo/tags/3.0.2/classes/PostMeta.php#L523https://plugins.trac.wordpress.org/browser/wpforo/tags/3.0.2/classes/Posts.php#L1961https://plugins.trac.wordpress.org/browser/wpforo/tags/3.0.2/includes/functions.php#L2641https://plugins.trac.wordpress.org/changeset/3503313/wpforohttps://www.wordfence.com/threat-intel/vulnerabilities/id/0e46ac8d-89ee-4480-bb96-83f2044a4323?source=cve
2026-04-11
Published