CVE-2026-6070 CRITICAL

CVE-2026-6070: WP-BusinessDirectory <= 4.0.1 - Unauthenticated Arbitrary File Deletion via Path Traversal via '_filename' Parameter

Vendor Cmsjunkie
Product WP-BusinessDirectory – Business directory plugin for WordPress
Weakness CWE-73
Published July 1, 2026
Last update July 1, 2026

CVSS base score

9.1/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality None
Integrity High

CVSS vector

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

What the vulnerability does

01Description

The WP-BusinessDirectory plugin for WordPress is vulnerable to Unauthenticated Arbitrary File Deletion in versions up to and including 4.0.1. This is due to insufficient path validation in the remove() method of the JBusinessDirectoryControllerUpload class. The task=upload.remove endpoint is accessible without authentication via the plugin's frontend routing system. The _filename parameter is accepted with RAW filter (no sanitization), and the helper function makePathFile() only normalizes directory separator characters without stripping path traversal sequences (../). When combined with the _path_type=2 parameter, which sets the base directory to the plugin's site folder, an attacker can supply a _filename value containing ../ sequences to traverse outside the plugin directory and call PHP's unlink() on arbitrary files — including wp-config.php, wp-config-backup.php, or other critical server files accessible to the web server process. This makes it possible for unauthenticated attackers to delete arbitrary files on the server.

Explanation of Vulnerability in Simple Terms

02Summary

WP-BusinessDirectory versions 4.0.1 and earlier contain a vulnerability that allows unauthenticated attackers to modify or delete data on affected sites without user interaction. The vulnerability stems from improper input validation in the plugin's core functionality. Sites running this plugin should update immediately to a patched version.

What an attacker can do

03Attacker Capabilities

Modify or delete site data without logging in or user interaction.

Potential impact on your site

04Site Impact

Attackers can alter or destroy business directory listings and other plugin data without warning.

Conditions required to exploit

05Prerequisites

Network access to the site; no authentication or user interaction required.

Key dates

06Disclosure timeline

July 1, 2026 CVE published
July 1, 2026 Record updated

Related vulnerabilities

08Related CVE