Skip to main content

Perfmatters EUVDEUVD-2026-21262

| CVE-2026-4351 HIGH
Path Traversal (CWE-22)
2026-04-10 Wordfence
8.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticated user sends GET request with path traversal payload
  2. Exploit
    Unsanitized $_GET['snippets'][] passed to Snippet::activate()
  3. Execution
    file_put_contents() writes to traversed file path
  4. Impact
    Arbitrary file overwrite achieved

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Authenticated WordPress user with Subscriber role or higher on Perfmatters plugin versions ≤2.5.9. Attacker exploits path traversal in bulk action handlers via unsanitized $_GET['snippets'][] parameter. No victim interaction required; no nonce verification needed.

Impact

High-impact authenticated path traversal enabling arbitrary file overwrite on WordPress sites. CVSS 8.1 reflects high integrity and availability damage. Low EPSS indicates moderate observed exploitation activity. Subscriber-level access requirement limits blast radius, but widespread Perfmatters adoption and file corruption severity (corrupting .htaccess, index.php) makes this a priority for WordPress administrators managing untrusted user accounts.

Exploit ScenarioDerived

Authenticated Subscriber accesses WordPress admin, crafts malicious GET request with unsanitized snippets[] parameter containing path traversal payload (e.g., ../../.htaccess), triggering PMCS::action_handler() to call Snippet::update() with unsanitized path, leading to file_put_contents() overwriting target file with PHP docblock content, causing site corruption or DoS.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 10, 2026

Authenticated arbitrary file overwrite in Perfmatters WordPress plugin ≤2.5.9 allows low-privileged attackers (Subscriber-level and above) to corrupt critical server files via path traversal. The PMCS::action_handler() method processes bulk activate/deactivate actions without authorization checks or nonce verification, passing unsanitized $_GET['snippets'][] values through Snippet::activate()/deactivate() to file_put_contents(). Attackers can overwrite files like .htaccess or index.php with fixed PHP docblock content, causing denial of service. Exploitation requires authenticated access with minimal privileges. No public exploit identified at time of analysis.

RemediationAI

Vendor-released patch: upgrade to Perfmatters version 2.6.0 or later, confirmed via changelog at https://perfmatters.io/docs/changelog/. Immediate mitigation: restrict WordPress user role assignments to trusted accounts only, removing Subscriber-level access for untrusted users. Implement Web Application Firewall rules blocking requests with path traversal sequences (../, ..\ patterns) in snippets[] parameters. Review and audit existing snippet configurations for unauthorized modifications. Monitor filesystem integrity for unexpected changes to .htaccess, index.php, and wp-config.php. Consult vendor advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/c172ab2b-ce1f-4a0d-b31f-b75ff2f03506 for additional detection guidance.

Affected VersionsENISA

Perfmatters 0 ≤2.5.9

Affected Packages

euvd perfmatters no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Root cause: missing authorization and nonce validation in PMCS::action_handler() combined with unsanitized path input to file_put_contents(). Path traversal sequences in $_GET['snippets'][] parameter bypass directory restrictions. CWE-22 implementation flaw allows authenticated users to write fixed PHP docblock payload to arbitrary filesystem locations despite low privilege level (PR:L).

Know when Perfmatters gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 8.1 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

The Perfmatters WordPress plugin versions 2.5.9 and below contain an authenticated arbitrary file overwrite vulnerability that allows subscriber-level users to corrupt critical server files through path traversal, potentially causing complete website unavailability. Any organization running this plugin is at immediate risk of denial-of-service attacks from internal users or compromised low-privilege accounts, requiring urgent remediation before the patch becomes available.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable Perfmatters plugin until patch available; (2) Restrict file_put_contents() permissions at OS level for web server process; (3) Implement Web Application Firewall rules to block requests containing path traversal patterns (../, ..\) in snippet parameters; (4) Reduce WordPress user roles-remove Subscriber access for all non-essential accounts; (5) Enable file integrity monitoring on .htaccess, index.php, and wp-config.php with alerting; (6) Implement strict input validation at server level rejecting any $_GET['snippets'][] values containing path traversal sequences.

Threat Intelligence Overview

EPSS Score
0.1%
Top 83% exploitable
Social Media
2
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy