Summary
CVE-2026-6070 is a critical unauthenticated arbitrary file deletion vulnerability in the WP-BusinessDirectory plugin for WordPress, affecting all versions up to and including 4.0.1. The flaw allows any remote, unauthenticated attacker to delete arbitrary files on the server — including wp-config.php — via a path traversal attack against the plugin’s frontend upload endpoint. It carries a CVSS v3.1 base score of 9.1 (Critical).
Technical details
- Root cause: Insufficient path validation in the
remove()method of theJBusinessDirectoryControllerUploadclass (CWE-73: External Control of File Name or Path). The_filenameparameter is accepted with a RAW filter — no sanitization is applied — and the helper functionmakePathFile()only normalizes directory separator characters without stripping path traversal sequences (../). - Trigger conditions: No authentication is required. The vulnerable
task=upload.removeendpoint is reachable through the plugin’s own frontend routing system from any network location. - Attack vector: An attacker sends a crafted HTTP request to the
task=upload.removeendpoint, supplying a_filenamevalue containing../sequences and setting_path_type=2(which anchors the base directory to the plugin’s site folder). This causes PHP’sunlink()to be invoked on an attacker-controlled file path outside the plugin directory. - Impact: An unauthenticated attacker can delete arbitrary files accessible to the web server process. Deletion of
wp-config.phpforces WordPress to re-enter its installation wizard, enabling a full site takeover by any attacker who subsequently re-runs the setup process. Other critical targets includewp-config-backup.phpand server configuration files. CVSS impact metrics reflect high Integrity (I:H) and high Availability (A:H).
Affected software
- WP-BusinessDirectory – Business directory plugin for WordPress by CMSJunkie, all versions up to and including 4.0.1
Severity
- CVSS v3.1 Base Score: 9.1 (Critical)
- Vector String:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Mitigation and recommended actions
- Immediate: Check the CMSJunkie plugin repository for a patched release beyond version 4.0.1 and upgrade immediately. This CVE was disclosed on July 1, 2026; monitor the vendor’s release page at cmsjunkie.com for a security update.
- If no patch is yet available: Deactivate and remove the WP-BusinessDirectory plugin from all internet-exposed WordPress installations until a patch is confirmed.
- Network mitigation: Restrict external access to the plugin’s frontend routing endpoint (
task=upload.remove) at the web server or WAF level to prevent unauthenticated exploitation while awaiting a vendor patch. - Verify that
wp-config.phpand other critical files have not been tampered with or deleted.
IONIX Status
The IONIX research team is tracking ongoing exploitation attempts and recommends immediate patching. Potentially affected assets are outlined in this post.

