CVE-2026-9843: Database for Contact Form 7, WPforms, Elementor forms <= 1.5.1 - Unauthenticated Arbitrary File Deletion via CF7 File Field POST Value

Published Jun 20, 2026
·
Updated

The Database for Contact Form 7, WPforms, Elementor forms plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the viewpage function in all versions up to, and including, 1.5.1. This makes it possible for unauthenticated attackers to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php). Successful exploitation requires an administrator to view or edit the poisoned form entry, at which point PHP's bracket parser reshapes the attacker-crafted JSON key to bypass the stored-path isset check and trigger deletion of the traversal-specified file.

Affected Software

1 affected component
wordpress/database-for-contact-form-7-wpforms-elementor-forms<=1.5.1

Event History

Jun 20, 2026
CVE Published
via MITRE·01:27 AM
Data Sourced
via MITRE·01:27 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-9843?

CVE-2026-9843 has a severity rating of 8.1, categorized as high.

2

How do I fix CVE-2026-9843?

To fix CVE-2026-9843, update the Database for Contact Form 7, WPforms, Elementor forms plugin to version 1.5.2 or later.

3

What is the impact of CVE-2026-9843?

CVE-2026-9843 allows unauthenticated attackers to perform arbitrary file deletion on the server.

4

Which versions are affected by CVE-2026-9843?

All versions of the Database for Contact Form 7, WPforms, Elementor forms plugin up to and including 1.5.1 are affected by CVE-2026-9843.

5

What type of attack does CVE-2026-9843 allow?

CVE-2026-9843 allows for unauthorized file deletion due to insufficient file path validation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203