---
id: CVE-2026-4350
title: >-
  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
summary: >-
  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…
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H'
cwe:
  - CWE-22
published: '2026-04-03'
updated: '2026-07-21'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-4350'
references:
  - url: 'https://perfmatters.io/docs/changelog/'
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/58b9dab8-8539-4b53-b08d-f6ee3e1e744c?source=cve
    label: security@wordfence.com
tags:
  - nvd
  - exploit-available
epss: 0.00526
epssPercentile: 0.42046
ingestedAt: '2026-07-21T19:53:39.470Z'
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/whyiamsobusy/CVE-2026-4350'
  checkedAt: '2026-09-25T08:20:57.268Z'
exploitAvailable: true
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
