Home

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.

PUBLISHED Reserved 2026-04-13 | Published 2026-04-20 | Updated 2026-04-21 | Assigner Wordfence




HIGH: 8.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Problem types

CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Product status

Default status
unaffected

Any version
affected

Timeline

2026-04-13:Vendor Notified
2026-04-20:Disclosed

Credits

Jude Nwadinobi finder

wackydawg finder

References

www.wordfence.com/...-6777-41be-a395-8c2eeb6deb73?source=cve

plugins.trac.wordpress.org/....16/wpforo/classes/Actions.php

plugins.trac.wordpress.org/.../wpforo/includes/functions.php

plugins.trac.wordpress.org/....16/wpforo/classes/Members.php

plugins.trac.wordpress.org/changeset/3509997/wpforo

cve.org (CVE-2026-6248)

nvd.nist.gov (CVE-2026-6248)

Download JSON