Skip to main content

PHP CVE-2026-3474

| EUVDEUVD-2026-13920 MEDIUM
Path Traversal (CWE-22)
2026-03-20 Wordfence
4.9
CVSS 3.1 · NVD
View

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.

Impact

While the CVSS v3.1 score of 4.9 (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N) indicates moderate severity with high confidentiality impact but requiring Administrator privilege level, the real-world risk must be contextualized through the attack vector and privilege requirements. The vulnerability requires PR:H (high privileges – Administrator access), which significantly limits the threat actor pool in most WordPress installations. However, in multi-user WordPress environments, compromised administrator accounts, rogue agency administrators, or insider threats pose a credible risk. The attack is network-accessible with low complexity and requires no user interaction, making exploitation trivial once access is obtained. The presence of proof-of-concept code references in the WordPress plugin repository (evidenced by the changeset and multiple version comparisons) and Wordfence reporting suggest active research and potential POC availability. For organizations relying on multiple administrators or shared hosting scenarios, this represents a real information disclosure priority despite the privilege requirement. The lack of KEV/EPSS data in provided intelligence prevents full probabilistic assessment, but the technical maturity of the exploit and easy implementation suggest this should not be dismissed as low-priority despite moderate CVSS.

Exploit ScenarioDerived

A malicious or compromised WordPress administrator initiates an authenticated REST API request to the 'emailkit-editor-template' endpoint, supplying a traversal path such as '../../../../etc/passwd' or '../../../../wp-config.php' in the request parameter. The TemplateData class's action() function directly passes this unsanitized input to file_get_contents(), which resolves the path and reads the requested file from the server filesystem. The retrieved sensitive data (database credentials, system configuration, or other confidential files) is stored as post metadata and subsequently retrieved via the fetch-data REST API endpoint, providing the attacker with critical infrastructure secrets that could enable further compromise or lateral movement within the environment.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 – Mar 20, 2026

The EmailKit - Email Customizer for WooCommerce & WP WordPress plugin contains a path traversal vulnerability in the TemplateData class that allows authenticated administrators to read arbitrary files from the server via the 'emailkit-editor-template' REST API parameter. An attacker with Administrator privileges can exploit this flaw to access sensitive files such as wp-config.php or /etc/passwd by supplying directory traversal sequences, with the retrieved file contents stored as post metadata and retrievable through the fetch-data REST API endpoint. The vulnerability affects all versions up to and including 1.6.3, and while it requires high-level administrative access and has a moderate CVSS score of 4.9, it represents a critical information disclosure risk in multi-user WordPress environments.

Earlier versions of this analysis (1)
v1 Mar 20, 2026 - 23:46 CVSS 4.9

The EmailKit – Email Customizer for WooCommerce & WP WordPress plugin contains a path traversal vulnerability in the TemplateData class that allows authenticated administrators to read arbitrary files from the server via the 'emailkit-editor-template' REST API parameter. An attacker with Administrator privileges can exploit this flaw to access sensitive files such as wp-config.php or /etc/passwd by supplying directory traversal sequences, with the retrieved file contents stored as post metadata and retrievable through the fetch-data REST API endpoint. The vulnerability affects all versions up to and including 1.6.3, and while it requires high-level administrative access and has a moderate CVSS score of 4.9, it represents a critical information disclosure risk in multi-user WordPress environments.

RemediationAI

Immediately upgrade the EmailKit plugin to version 1.6.4 or later, which implements proper path validation and directory restriction controls. For WordPress administrators unable to patch immediately, restrict REST API access to the vulnerable endpoints through a Web Application Firewall (WAF) by blocking requests to the 'emailkit-editor-template' action parameter, or disable REST API access entirely if not required for plugin functionality. Additionally, audit current post meta entries for suspicious file paths that may have been read via this vulnerability, review administrator account activity logs for unauthorized REST API calls, and if using a multi-administrator setup, implement role-based access controls to limit who can access email customization features. Monitor WordPress security advisories at https://plugins.trac.wordpress.org/ for confirmation of the patch release and apply updates immediately upon availability.

Affected VersionsENISA

EmailKit – Email Customizer for WooCommerce & WP * ≤1.6.3

Affected Packages

euvd emailkit_email_customizer_for_woocommerce_wp 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

The vulnerability exists in the TemplateData class's action() function within the EmailKit plugin (CPE: cpe:2.3:a:roxnor:emailkit_–_email_customizer_for_woocommerce_&_wp:*:*:*:*:*:*:*:*), a WordPress plugin for email template customization. The root cause is classified under CWE-22 (Improper Limitation of a Pathname to a Restricted Directory – Path Traversal), where user-supplied input from a REST API parameter is passed directly to the PHP file_get_contents() function without validation, sanitization, or directory restriction. The vulnerability is compounded by the fact that the same codebase includes proper mitigation in the CheckForm class using realpath() and directory restriction, demonstrating developer awareness of the attack vector but inconsistent application of security controls across the codebase.

Know when PHP 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 4.9 MEDIUM
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

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

DescriptionCVE.org

The EmailKit - Email Customizer for WooCommerce & WP plugin for WordPress is vulnerable to arbitrary file read via path traversal in all versions up to, and including, 1.6.3. This is due to the action() function in the TemplateData class passing user-supplied input from the 'emailkit-editor-template' REST API parameter directly to file_get_contents() without any path validation, sanitization, or restriction to an allowed directory. This makes it possible for authenticated attackers, with Administrator-level access, to read arbitrary files on the server (such as /etc/passwd or wp-config.php) by supplying a traversal path. The file contents are stored as post meta and can subsequently be retrieved via the fetch-data REST API endpoint. Notably, the CheckForm class in the same plugin implements proper path validation using realpath() and directory restriction, demonstrating that the developer was aware of the risk but failed to apply the same protections to the TemplateData endpoint.

Executive ViewAI

Why It Matters

Organizations using for WordPress is vulnerable to arbitrary file read via path traversal in all should be aware of moderate risk from CVE-2026-3474, a path traversal vulnerability rated CVSS 4.9. This could allow unauthorized file access. Organizations should apply vendor updates when available and monitor for exploitation.

Business Impact: Low
Compensating Controls

Apply vendor patch. If patching is delayed: restrict file access via WAF, implement allowlists.

Threat Intelligence Overview

EPSS Score
0.1%
Top 84% exploitable
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Low
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
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.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

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