{"id":"CVE-2026-6248","published":"2026-04-20T18:31:33Z","modified":"2026-04-21T17:35:30Z","title":"wpForo Forum <= 3.0.5 - Authenticated (Subscriber+) Arbitrary File Deletion via Custom Profile Field File Path","vendor":"tomdever","product":"wpForo Forum","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00616,"percentile":0.50471,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/79cc102a-6777-41be-a395-8c2eeb6deb73?source=cve","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/wpforo/tags/2.4.16/wpforo/classes/Actions.php#L1418","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/wpforo/tags/2.4.16/wpforo/includes/functions.php#L3187","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/wpforo/tags/2.4.16/wpforo/classes/Members.php#L891","tags":[]},{"url":"https://plugins.trac.wordpress.org/changeset/3509997/wpforo","tags":[]}],"priority":{"score":15.8,"factors":[{"name":"EPSS percentile","points":10.09},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"tomdever","affectedVersions":[{"vendor":"tomdever","product":"wpForo Forum","versions":["<= 3.0.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-21T17:35:14.554882Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-23935","exploited":false,"provenance":"source"}}