Vulnerability Description
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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/wpforo/tags/2.4.16/wpforo/classes/Act
- https://plugins.trac.wordpress.org/browser/wpforo/tags/2.4.16/wpforo/classes/Mem
- https://plugins.trac.wordpress.org/browser/wpforo/tags/2.4.16/wpforo/includes/fu
- https://plugins.trac.wordpress.org/changeset/3509997/wpforo
- https://www.wordfence.com/threat-intel/vulnerabilities/id/79cc102a-6777-41be-a39
FAQ
What is CVE-2026-6248?
CVE-2026-6248 is a vulnerability with a CVSS score of 8.1 (HIGH). 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 valida...
How severe is CVE-2026-6248?
CVE-2026-6248 has been rated HIGH with a CVSS base score of 8.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-6248?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.