Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconCreate subscriber account
-
DeliveryAccess profile with file custom field
-
ExploitInject path traversal payload (e.g., ../../../wp-config.php)
-
InstallSubmit profile update triggering Members::update()
-
C2Bypass wpforo_fix_upload_dir() sanitization
-
ExecuteExecute unlink() deleting wp-config.php
-
ImpactReinstall WordPress with attacker DB credentials
-
Step 8Achieve remote code execution
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires three specific conditions: First, the WordPress site must have both wpForo Forum plugin (≤3.0.5) AND the separate wpForo - User Custom Fields addon plugin installed and activated-the base plugin alone is NOT sufficient. Second, site administrators must have configured at least one file-type custom profile field through the addon's settings (this is not a default configuration and requires deliberate administrative action). Third, the attacker must possess authenticated access at subscriber privilege level or higher (PR:L)-this is readily achievable on public forums allowing self-registration but requires account creation. No user interaction beyond attacker's own actions is required (UI:N). The vulnerability is exploitable against default WordPress file system layouts and does not require non-standard server configurations. Attack vector is network-based (AV:N) with low complexity (AC:L), meaning remote exploitation over HTTP/HTTPS without timing dependencies or race conditions. Key limiting factor: the wpForo User Custom Fields addon is a separate, optional component with lower installation prevalence than the base wpForo plugin, significantly reducing the population of vulnerable sites compared to the total wpForo installation base. |
| Impact | Real-world risk is HIGH for sites meeting exploitation conditions but MODERATE overall due to prerequisite constraints. CVSS 8.1 accurately reflects network exploitability (AV:N), low attack complexity (AC:L), and minimal privilege requirements (PR:L - subscriber account), with high integrity and availability impact (I:H/A:H) but no confidentiality breach (C:N). The vulnerability enables remote code execution by deleting wp-config.php, forcing WordPress reinstallation where attackers can inject database credentials, making this a critical post-exploitation vector. However, real-world deployment prevalence is limited: it requires both the base wpForo plugin AND the separate User Custom Fields addon, plus administrator configuration of file-type custom fields. EPSS score unavailable, CISA KEV status negative, no public POC identified at time of analysis. The attack requires only subscriber-level authentication, which is trivially obtainable on public forums. SSVC assessment: exploitation status unknown, technically automatable once conditions are met, technical impact matches CVSS (high I/A). Priority depends heavily on whether your WordPress instance uses wpForo with the specific addon and custom field configuration-verify immediately if wpForo is deployed, deprioritize if not installed. |
| Exploit ScenarioDerived | An attacker creates a free subscriber account on a WordPress site running wpForo Forum with the User Custom Fields addon. They navigate to their profile edit page, locate a file-type custom field (e.g., 'Resume Upload' or 'Avatar Document'), and intercept the HTTP request when submitting the form. Instead of uploading a legitimate file, they inject a path traversal payload like '../../../wp-config.php' into the custom field value parameter. Upon form submission, the Members::update() method stores this malicious path without validation. The attacker then triggers the file deletion routine (possibly through profile update or cleanup operations), which passes the traversal path through wpforo_fix_upload_dir() sanitization that fails to neutralize it, ultimately executing unlink('../../../wp-config.php') and deleting WordPress's configuration file. With wp-config.php removed, the site enters setup mode, allowing the attacker to perform a fresh installation with attacker-controlled database credentials, achieving full site compromise and remote code execution capabilities. No public POC code has been identified, but the attack logic is straightforward for authenticated users. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 20, 2026
Arbitrary file deletion in wpForo Forum plugin versions ≤3.0.5 allows authenticated attackers with subscriber-level privileges to delete critical WordPress files including wp-config.php, enabling remote code execution. The vulnerability chains two flaws: unvalidated file paths in custom profile fields and insufficient path sanitization before file deletion. Exploitation requires the wpForo User Custom Fields addon with at least one file-type custom field configured. CVSS 8.1 (High) with network attack vector, low complexity, and low privilege requirements. EPSS data and active exploitation status not available in current intelligence.
RemediationAI
Upgrade wpForo Forum plugin immediately to version 3.0.6 or later, which addresses the path traversal vulnerability according to changeset 3509997 documented at https://plugins.trac.wordpress.org/changeset/3509997/wpforo. Until patching is completed, implement these compensating controls with stated trade-offs: Disable or uninstall the wpForo User Custom Fields addon plugin entirely (eliminates attack vector but removes custom profile field functionality critical for some forum workflows). Alternatively, delete all file-type custom profile fields through wpForo admin panel (preserves addon for non-file fields but removes file upload capabilities users may depend on). For defense-in-depth, restrict WordPress subscriber-level registrations by disabling public registration in Settings → General → Membership or implement manual approval workflows (reduces attack surface but impacts legitimate user onboarding and forum growth). Set file permissions on wp-config.php to 400 and ensure web server user cannot delete it (Linux/Unix only; may complicate legitimate WordPress updates requiring temporary permission elevation). Monitor file integrity of critical WordPress core files using tools like Wordfence Security scanner or OSSEC HIDS to detect unauthorized deletions. Reference Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/79cc102a-6777-41be-a395-8c2eeb6deb73?source=cve for complete remediation guidance.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability affects wpForo Forum (cpe:2.3:a:tomdever:wpforo_forum), a popular WordPress forum plugin, combined with its User Custom Fields addon. The flaw is rooted in CWE-22 (Path Traversal) and stems from two chained weaknesses: First, the Members::update() method accepts arbitrary string values for file-type custom profile fields without validating they represent legitimate upload paths within WordPress's expected directories. Second, the wpforo_fix_upload_dir() sanitization function in ucf_file_delete() only remaps paths matching specific expected patterns but fails to reject or neutralize malicious paths before passing them to PHP's unlink() function. An attacker can inject path traversal sequences (e.g., '../../../wp-config.php') into a custom profile field, bypass the inadequate sanitization, and trigger file deletion through the plugin's file management functionality. The vulnerability requires the optional User Custom Fields addon to be installed and at least one file-type custom field to exist, which are not default configurations.
Know when Wpforo Forum gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
The wpForo Forum plugin for WordPress is vulnerable to Arbitrary File Deletion in versions up to and including 3.0.5. This is due to two compounding flaws: the Members::update() method does not validate or restrict the value of file-type custom profile fields, allowing authenticated users to store an arbitrary path instead of a legitimate upload path; and the wpforo_fix_upload_dir() sanitization function in ucf_file_delete() only remaps paths that match the expected pattern, and it is passed directly to the unlink() function. This makes it possible for authenticated attackers, with subscriber-level access and above, to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php). Note: The vulnerability requires a file custom field, which requires the wpForo - User Custom Fields addon plugin.
Executive ViewAI
CVE-2026-6248 affects wpForo Forum plugin versions 3.0.5 and below, allowing subscriber-level users to delete critical WordPress configuration files and achieve remote code execution. Organizations running vulnerable wpForo installations with the User Custom Fields addon enabled face immediate risk of site compromise and data loss, requiring urgent inventory and mitigation.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable the wpForo User Custom Fields addon immediately if not business-critical; (2) Restrict subscriber user registration and demote existing subscribers to non-file-upload roles; (3) Apply file-system permissions to make wp-config.php read-only to web server process; (4) Deploy web application firewall rules blocking DELETE/POST requests targeting wp-config.php and wp-settings.php; (5) Implement file integrity monitoring on wp-config.php and core WordPress files; (6) Increase authentication controls requiring admin approval for custom field file uploads.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
More in Wpforo Forum
View allThe wpForo Forum plugin for WordPress is vulnerable to Local File Include, Server-Side Request Forgery, and PHAR Deseria
PHP object injection in the wpForo Forum WordPress plugin before 3.1.6 lets an authenticated attacker with Subscriber-le
The wpForo Forum plugin for WordPress is vulnerable to SQL Injection via the 'slug' attribute of the 'wpforo' shortcode
The wpForo Forum WordPress plugin before 2.1.9 does not escape some request parameters while in debug mode, leading to a
The wpForo Forum WordPress plugin before 1.9.7 did not validate the redirect_to parameter in the login form of the forum
wpforo_get_request_uri in wpf-includes/functions.php in the wpForo Forum plugin before 1.4.12 for WordPress allows Unaut
Authentication bypass in the wpForo Forum WordPress plugin versions 3.1.0 and earlier allows remote unauthenticated atta
Unauthenticated PHP Object Injection in the wpForo Forum WordPress plugin versions 3.1.0 and earlier allows remote attac
Stored cross-site scripting in wpForo Forum WordPress plugin before 3.1.2 allows a subscriber-level authenticated user t
Insecure Direct Object Reference (IDOR) in the wpForo Forum WordPress plugin before 3.1.2 allows any subscriber-level au
Unauthenticated SQL injection in the wpForo Forum WordPress plugin (versions 3.0.4 and earlier) allows remote attackers
Rate-limit bypass in the wpForo Forum WordPress plugin (3.0.0 up to but not including 3.1.6) allows unauthenticated remo
EUVD-2026-23935
NVD
CVE.org
EPSS
Vulnrichment
VulDB
GitHub PoC
Exploit-DB