CWE-73Weakness · CWE-73

CVE-2026-5809

HIGH · 7.1 CVSS v3.1 Published 2026-04-11
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
77/100
Remediation priority · High
Remotely reachable Zero-click

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 · unedited
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.

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 confidence

The 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.

MitigationUpgrade 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.

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 checks

Work through these to decide whether this CVE applies to you.

  1. Verify wpForo Forum plugin is installed
    In 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.
  2. Confirm subscriber-level users can create or edit topics
    Navigate 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.
  3. Inspect postmeta for suspicious fileurl entries
    Run 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.
  4. Review server access logs for wp_delete_file calls
    Search 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.
  5. Check for unauthorized file deletion events
    Compare 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.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

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 data
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Upgrade 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.

Have this fixed Scoped from the published advisory
  • Consultation3.0 h
  • Implementation6.0 h
  • Testing3.0 h
  • Review / QA2.0 h
14.0 hours of engineering $2,490
Get help mitigating

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 locally
dbcve dependency scanner

Check 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 sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-5809 in production — separate from our analysis above.

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.

What this is

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.

What belongs here
  • 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