EmailKit <= 1.6.1 - Authenticated (Author+) Arbitrary File Read via Path Traversal

External Control of File Name or Path
CVE CVE-2025-14059
CVSS Medium (6.5)
Publicly Published January 6, 2026
Last Updated January 7, 2026
Researcher Dmitrii Ignatyev
Description

The EmailKit plugin for WordPress is vulnerable to Arbitrary File Read via Path Traversal in all versions up to, and including, 1.6.1. This is due to missing path validation in the create_template REST API endpoint where user-controlled input from the emailkit-editor-template parameter is passed directly to file_get_contents() without sanitization. This makes it possible for authenticated attackers with Author-level permissions or higher to read arbitrary files on the server, including sensitive configuration files like /etc/passwd and wp-config.php, via the REST API. The file contents are stored in post meta and can be exfiltrated through MetForm's email confirmation feature.

References

1 affected software package

Software Type Plugin
Software Slug emailkit (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 1.6.1
Patched Version
  • 1.6.2
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.