CVE-2026-5809
Last modified
CVE-2026-5809 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. 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. EPSS estimates a 0.50% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-5809?
How severe is CVE-2026-5809?
How do I fix CVE-2026-5809?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-58074A vulnerability allowing a high-privileged user to execute a…8.6
- CVE-2026-58075A vulnerability allowing an unauthenticated attacker to read…8.7
- CVE-2026-58077Joomla Extension - weeblr.com - Unauthenticated stored XSS i…8.7
- CVE-2026-58078Joomla Extension - themexpert.com - Unauthenticated SQL inje…8.7
- CVE-2026-5808A vulnerability was detected in openstatusHQ openstatus up t…5.3
- CVE-2026-58080In Eclipse Milo versions 1.0.0 through 1.1.4, `OpcUaServerCo…8.2
- CVE-2026-5810A flaw has been found in SourceCodester Sales and Inventory …3.5
- CVE-2026-58101Crypt::OpenSSL::X509 versions before 2.1.3 for Perl allow de…7.5
- CVE-2026-58102Crypt::OpenSSL::X509 versions before 2.1.3 for Perl allow a …9.1
- CVE-2026-5811A vulnerability was identified in SourceCodester Online Food…5.4
- CVE-2026-58115A vulnerability has been identified in SIMATIC IoT2050 Advan…10
- CVE-2026-58116LLaMA-Factory through 0.9.5 contains a remote code execution…8.8
Are you affected by CVE-2026-5809?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
