CVE-2026-6070 WP-BusinessDirectory <= 4.0.1 - Unauthenticated Arbitrary File Deletion via Path Traversal via '_filename' Parameter
Unauthenticated attackers can delete arbitrary files on the server via path traversal in the WP-BusinessDirectory plugin, potentially causing denial of service or data loss.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-6070?
CVE-2026-6070 is a critical path traversal vulnerability in cmsjunkie WP-BusinessDirectory – Business directory plugin for WordPress, published on 1 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-73
Which versions are affected by CVE-2026-6070?
How do I fix CVE-2026-6070?
No fix has been published for CVE-2026-6070 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-6070 being exploited?
There is no known exploitation of CVE-2026-6070 in the wild and no public exploit code.
Sources
Also known as GHSA-xgpp-v9mr-6fg2.