CVE-2026-3474: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in roxnor EmailKit – Email Customizer for WooCommerce & WP
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.
AI Analysis
Technical Summary
CVE-2026-3474 is a path traversal vulnerability (CWE-22) in the EmailKit – Email Customizer for WooCommerce & WP plugin for WordPress, affecting all versions up to 1.6.3. The issue exists in the TemplateData class's action() function, which takes user input from the 'emailkit-editor-template' REST API parameter and passes it directly to file_get_contents() without validating or restricting the file path. This allows authenticated users with Administrator privileges to read arbitrary files on the server by supplying traversal sequences. The file contents are stored as post meta and can be retrieved via another REST API endpoint. The presence of proper path validation in another class (CheckForm) indicates developer awareness but inconsistent application of security controls. The vulnerability has a CVSS 3.1 base score of 4.9 (medium severity). No patch or official fix is currently documented.
Potential Impact
An authenticated attacker with Administrator-level access can exploit this vulnerability to read arbitrary files on the server hosting the WordPress site. This may include sensitive files such as /etc/passwd or wp-config.php, potentially exposing credentials or configuration details. The vulnerability does not allow code execution or denial of service but compromises confidentiality of server files. The impact is limited by the requirement for Administrator privileges and the absence of known exploits in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict Administrator access to trusted users only and monitor for unusual activity involving the 'emailkit-editor-template' REST API endpoint. Consider disabling or restricting the plugin if possible. Since the vulnerability requires Administrator privileges, limiting administrative accounts reduces risk.
CVE-2026-3474: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in roxnor EmailKit – Email Customizer for WooCommerce & WP
Description
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-3474 is a path traversal vulnerability (CWE-22) in the EmailKit – Email Customizer for WooCommerce & WP plugin for WordPress, affecting all versions up to 1.6.3. The issue exists in the TemplateData class's action() function, which takes user input from the 'emailkit-editor-template' REST API parameter and passes it directly to file_get_contents() without validating or restricting the file path. This allows authenticated users with Administrator privileges to read arbitrary files on the server by supplying traversal sequences. The file contents are stored as post meta and can be retrieved via another REST API endpoint. The presence of proper path validation in another class (CheckForm) indicates developer awareness but inconsistent application of security controls. The vulnerability has a CVSS 3.1 base score of 4.9 (medium severity). No patch or official fix is currently documented.
Potential Impact
An authenticated attacker with Administrator-level access can exploit this vulnerability to read arbitrary files on the server hosting the WordPress site. This may include sensitive files such as /etc/passwd or wp-config.php, potentially exposing credentials or configuration details. The vulnerability does not allow code execution or denial of service but compromises confidentiality of server files. The impact is limited by the requirement for Administrator privileges and the absence of known exploits in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict Administrator access to trusted users only and monitor for unusual activity involving the 'emailkit-editor-template' REST API endpoint. Consider disabling or restricting the plugin if possible. Since the vulnerability requires Administrator privileges, limiting administrative accounts reduces risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-03-03T13:02:05.586Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 69bdda56b462d409683a8c08
Added to database: 3/20/2026, 11:37:58 PM
Last enriched: 4/9/2026, 11:34:46 AM
Last updated: 4/30/2026, 11:55:18 AM
Views: 61
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.