CVE-2026-4350 Perfmatters <= 2.5.9.1 - Authenticated (Subscriber+) Arbitrary File Deletion via 'delete' Parameter
Authenticated subscribers can delete arbitrary files via path traversal, potentially forcing site reinstallation and takeover.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-4350?
CVE-2026-4350 is a high-severity path traversal vulnerability in Perfmatters, published on 3 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The Perfmatters plugin for WordPress is vulnerable to arbitrary file deletion via path traversal in all versions up to, and including, 2.5.9.1. This is due to the `PMCS::action_handler()` method processing the `$_GET['delete']` parameter without any sanitization, authorization check, or nonce verification. The unsanitized filename is concatenated with the storage directory path and passed to `unlink()`. This makes it possible for authenticated attackers, with Subscriber-level access and above, to delete arbitrary files on the server by using `../` path traversal sequences, including `wp-config.php` which would force WordPress into the installation wizard and allow full site takeover.
Weakness: CWE-22
Which versions are affected by CVE-2026-4350?
How do I fix CVE-2026-4350?
No fix has been published for CVE-2026-4350 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-4350 being exploited?
There is no known exploitation of CVE-2026-4350 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Sources
Also known as GHSA-7hmf-75fm-xr24.