CVE-2026-5809
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedThe 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThe wpForo Forum plugin for WordPress suffers from an arbitrary file deletion vulnerability stemming from a two-step attack vector. An authenticated subscriber+ attacker can inject an arbitrary file path via data[body][fileurl] during topic creation/editing, which gets stored in postmeta. Later, requesting deletion of this 'body' field triggers wp_delete_file() on the attacker-controlled path without proper validation, allowing deletion of any file writable by the PHP process.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Verify wpForo Forum plugin is installedIn WordPress admin, go to Plugins > Installed Plugins and look for 'wpForo Forum' or check the /wp-content/plugins/ directory for the wpforo folder. Note the installed version number.Affected if The plugin is installed and the version has not been patched against this arbitrary file deletion flaw.
-
Confirm subscriber-level users can create or edit topicsNavigate to wpForo > Settings > Members > General tab and check the 'Default user role' setting, or review your WordPress user roles to see if subscribers have wpForo topic creation permissions.Affected if Subscriber or higher roles can create or edit forum topics, allowing them to inject malicious fileurl data into postmeta.
-
Inspect postmeta for suspicious fileurl entriesRun a database query: SELECT * FROM wp_postmeta WHERE meta_key = 'body' AND meta_value LIKE '%fileurl%'; or use a plugin like WP Data Access to browse the wp_postmeta table for any body field contents containing a 'fileurl' key with unexpected paths.Affected if Any body field stored in postmeta contains a fileurl parameter pointing to paths outside the expected upload directory, indicating potential exploitation.
-
Review server access logs for wp_delete_file callsSearch your web server access logs (Apache/nginx) for requests to wp-admin/admin-ajax.php with action=wpforo or similar deletion-related actions, particularly those passing a body parameter that may trigger wp_delete_file().Affected if Logs show AJAX requests deleting forum posts/bodies that correspond to fileurl paths you do not recognize.
-
Check for unauthorized file deletion eventsCompare your current file inventory (especially critical files like wp-config.php, .htaccess, index.php) against recent backups or monitor file system integrity. Use 'ls -la' on key WordPress files to verify they still exist.Affected if Any critical WordPress files have been deleted or modified without your knowledge, which could indicate successful exploitation of this vulnerability.
You are affected if the wpForo Forum plugin is installed with a version lacking the path validation fix AND subscriber-level users have topic creation/editing capabilities, allowing injection of arbitrary file paths that could be triggered for deletion.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
From vendor dataUpgrade to a patched version of wpForo Forum plugin that properly validates file paths before deletion and restricts which metadata fields can contain fileurl values. As an interim measure, restrict subscriber-level account creation until the patch is applied.
- Consultation3.0 h
- Implementation6.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,984.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-5809 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-5809 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data