High severity · published Apr 10, 2026
CVE-2026-4351
Perfmatters <= 2.5.9 - Authenticated (Subscriber+) Arbitrary File Overwrite via 'snippets' Parameter
8.1
CVSS
0.4%
EPSS
No
On KEV
Description
The Perfmatters plugin for WordPress is vulnerable to arbitrary file overwrite via path traversal in all versions up to, and including, 2.5.9. This is due to the `PMCS::action_handler()` method processing the bulk action `activate`/`deactivate` handlers without any authorization check or nonce verification. The `$_GET['snippets'][]` values are passed unsanitized to `Snippet::activate()`/`Snippet::deactivate()` which call `Snippet::update()` then `file_put_contents()` with the traversed path. This makes it possible for authenticated attackers, with Subscriber-level access and above, to overwrite arbitrary files on the server with a fixed PHP docblock content, potentially causing denial of service by corrupting critical files like `.htaccess` or `index.php`.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 35% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PE
Perfmatters · perfmatters
through 2.5.9 · source: vendor
Affected product
PE
Perfmatters
perfmatters
More from Perfmatters
8.8
CVE-2023-47874
Missing Authorization vulnerability in Perfmatters.This issue affects Perfmatters: from n/a through 2.1.6
8.8
CVE-2023-47875
Cross-Site Request Forgery (CSRF) vulnerability in Perfmatters allows Cross Site Request Forgery.This issue affects Perfmatters: from n/a through 2.1.6
8.1
CVE-2026-4350
Perfmatters <= 2.5.9.1 - Authenticated (Subscriber+) Arbitrary File Deletion via 'delete' Parameter
7.5
CVE-2026-13251
Perfmatters <= 2.6.4 - Unauthenticated Arbitrary File Read via 's' Parameter
7.1
CVE-2026-57671
WordPress perfmatters plugin <= 2.6.4 - Cross Site Scripting (XSS) vulnerability