CVE-2026-6248 wpForo Forum <= 3.0.5 - Authenticated (Subscriber+) Arbitrary File Deletion via Custom Profile Field File Path

High 8.1 Published Updated

Authenticated attackers can delete arbitrary files via path traversal in custom profile fields, potentially leading to remote code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-6248?

CVE-2026-6248 is a high-severity path traversal vulnerability in tomdever wpForo Forum, published on 20 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.

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

Weakness: CWE-22

Which versions are affected by CVE-2026-6248?

How do I fix CVE-2026-6248?

No fix has been published for CVE-2026-6248 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-6248 being exploited?

There is no known exploitation of CVE-2026-6248 in the wild and no public exploit code.

Sources

Also known as GHSA-9xxq-3rc5-mg2v.

Is CVE-2026-6248 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free