# CVE-2026-6248

> Vulnerability · severity: **HIGH** (CVSS 8.1).

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

## Key facts

- **CVE ID:** CVE-2026-6248
- **Published:** 2026-04-20
- **CVSS severity:** HIGH
- **CVSS base score:** 8.1
- **CWE codes:** CWE-22

## Primary sources

- NIST NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-6248

## Citation

> AI Analytics. CVE-2026-6248. Retrieved 2026-07-20 from https://api.ai-analytics.org/cve/CVE-2026-6248. Derived from NIST NVD. Licensed CC0.

---

*[Dataset catalog](https://api.ai-analytics.org/datasets/) · [AI Analytics](https://api.ai-analytics.org/) · CC0 1.0*