CVE-2026-3474
Last modified
CVE-2026-3474 is a medium-severity vulnerability rated 4.9/10 on the CVSS scale. 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. EPSS estimates a 0.40% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-3474?
How severe is CVE-2026-3474?
How do I fix CVE-2026-3474?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-34734HDF5 is software for managing data. In 1.14.1-2 and earlier,…7.8
- CVE-2026-34735The Hytale Modding Wiki is a free service for Hytale mods to…8.7
- CVE-2026-34736Open edX Platform enables the authoring and delivery of onli…5.3
- CVE-2026-34737WWBN AVideo is an open source video platform. In versions 26…6.5
- CVE-2026-34738WWBN AVideo is an open source video platform. In versions 26…4.3
- CVE-2026-34739WWBN AVideo is an open source video platform. In versions 26…6.1
- CVE-2026-34740WWBN AVideo is an open source video platform. In versions 26…6.5
- CVE-2026-34742The Go MCP SDK used Go's standard encoding/json. Prior to ve…8.1
- CVE-2026-34743XZ Utils provide a general-purpose data-compression library …5.3
- CVE-2026-34744Mantis Bug Tracker (MantisBT) is an open source issue tracke…5.3
- CVE-2026-34745Fireshare facilitates self-hosted media and link sharing. Pr…9.1
- CVE-2026-34746Payload is a free and open source headless content managemen…7.7
Are you affected by CVE-2026-3474?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
