SecurityContext

CVE-2026-4351: Perfmatters WordPress Plugin - Broken Access Control

  • Cve: CVE-2026-4351
  • Name: Perfmatters WordPress Plugin - Broken Access Control
  • 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`.
  • Impact: Authenticated attackers can overwrite arbitrary files, potentially causing denial of service by corrupting critical server files.
  • Remediation: Update to the latest version beyond 2.5.9.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: file_system_write, denial_of_service
  • Requirement type: logged_in
  • Requirements: Attacker needs Subscriber-level or higher access
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
  • Epss score: 0.00416
  • Epss percentile: 0.36651
  • Assignee: [email protected]
  • Published at: 2026-04-10T02:16:03Z
  • Age in days: 228
  • Modified at: 2026-06-17T10:56:27Z
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-4351
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

References

UrlSourceTags
https://perfmatters.io/docs/changelog/nvd
https://www.wordfence.com/threat-intel/vulnerabilities/id/c172ab2b-ce1f-4a0d-b31f-b75ff2f03506?source=cvenvd

Products

ProductAffectedPlatform boundSourcesUrl
perfmatters:perfmatters<= 2.5.9nocna_alias/v1/products/perfmatters/perfmatters

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts