Back to overview

CVE-2026-6070

CRITICAL
9.1
CVSS 3.1
Description
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.

Metadata

CVE ID
CVE-2026-6070
State
PUBLISHED
Assigner
Wordfence
Reserved
2026-04-10 13:34 UTC
Published
2026-07-01 04:32 UTC
Last updated
2026-07-01 10:42 UTC
Primary CWE
CWE-73
CWE-73 External Control of File Name or Path
Vendor / Product
cmsjunkie / WP-BusinessDirectory – Business directory plugin for WordPress
Sources
cve.org  ·  NVD

Severity & Metrics

9.1 CRITICAL CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
SSVC — CISA Coordinator
Exploitation
none
Automatable
yes
Tech. Impact
partial
Affected products (1)
VendorProductPlatformVersions
cmsjunkie WP-BusinessDirectory – Business directory plugin for WordPress 0 ≤ 4.0.1
Weakness (CWE)
CWESourceDescription
CWE-73 cna CWE-73 External Control of File Name or Path
CVSS scores (1)
ScoreSeverityVersionSourceVector
9.1 CRITICAL 3.1 cna CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Back to overview