
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-14059 is an Arbitrary File Read vulnerability via Path Traversal in the EmailKit – Email Customizer for WooCommerce & WP plugin for WordPress. It affects all versions up to and including 1.6.1, and was disclosed on January 7, 2026, with Wordfence as the assigning CNA. The flaw allows authenticated attackers with Author-level permissions or higher to read arbitrary files on the server via the REST API. It carries a CVSS v3.1 base score of 6.5 (Medium) (Wordfence, Red Hat CVE).
The root cause is classified as CWE-73 (External Control of File Name or Path): the create_template REST API endpoint accepts user-controlled input via the emailkit-editor-template parameter and passes it directly to PHP's file_get_contents() without any path validation or sanitization. An attacker can supply path traversal sequences (e.g., ../../) to escape the intended directory and read arbitrary files on the server. The vulnerable code is located in includes/Admin/Api/CheckForm.php at line 163. File contents are stored in WordPress post meta and can subsequently be exfiltrated via MetForm's email confirmation feature, providing a complete read-and-exfiltrate attack chain (Wordfence, WordPress Trac).
Successful exploitation allows an authenticated attacker to read any file accessible to the web server process, including highly sensitive files such as /etc/passwd and wp-config.php (which contains database credentials and WordPress secret keys). Exposure of wp-config.php can lead to full database compromise, privilege escalation, and potential site takeover. The vulnerability has no integrity or availability impact, but the confidentiality impact is rated High (Wordfence, Red Hat CVE).
/wp-content/plugins/emailkit/ for plugin presence.create_template REST API endpoint, supplying a path traversal payload in the emailkit-editor-template parameter, e.g., ../../../../etc/passwd or ../../../../wp-config.php.create_template endpoint containing path traversal sequences (e.g., ../, %2e%2e%2f) in the emailkit-editor-template parameter./wp-json/emailkit/v1/create_template (or similar) with suspicious parameter values referencing system files like passwd or wp-config.php./etc/passwd entries or PHP configuration strings from wp-config.php) stored unexpectedly.Users should update the EmailKit plugin to a version beyond 1.6.1 that includes the patch introduced in changeset 3419280. The fix adds proper path validation to the create_template REST API endpoint to prevent traversal outside the intended directory. As an interim workaround, site administrators can restrict Author-level user accounts or disable the EmailKit plugin until a patched version is applied. Monitoring REST API access logs for path traversal patterns is also recommended (WordPress Trac Changeset, Wordfence).
Wordfence included CVE-2025-14059 in its weekly WordPress vulnerability report for January 5–11, 2026, highlighting it as part of a broader set of plugin vulnerabilities disclosed that week (Wordfence Blog). Sucuri also referenced the vulnerability in its January 2026 vulnerability patch roundup (Sucuri Blog). No significant social media controversy or notable researcher commentary beyond standard disclosure coverage has been observed.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."