CVE-2026-9145: Database for Contact Form 7, WPforms, Elementor forms <= 1.5.1 - Unauthenticated Arbitrary File Copy/Upload via Elementor Pro Form Upload Field 'raw_value'

Published Jul 2, 2026
·
Updated

The Database for Contact Form 7, WPforms, Elementor forms plugin for WordPress is vulnerable to Arbitrary File Copy via the createentryel() function in versions up to, and including, 1.5.1. The function reads rawvalue from Elementor Pro's FormRecord object for upload-type fields and passes it directly to PHP's copy() without validating that the value corresponds to a legitimately uploaded file — when no file is present in $FILES, rawvalue reflects the attacker-controlled POST string. copy() accepts both local filesystem paths and URL sources, so the attacker can target any file readable by the PHP process or supply an attacker-controlled remote URL. Elementor Pro is a prerequisite for triggering the code path (it owns the elementorpro/forms/newrecord hook and populates the FormRecord object), but the bug itself is entirely in Contact Form Entries' handler. This could allow unauthenticated attackers to disclose arbitrary files on the affected site's server. The file is copied to a directory unknown to the attacker; the hashed directory name provides defense-in-depth but is generated from non-cryptographic sources (uniqid() + rand()) and should not be relied upon as the primary mitigation.

Affected Software

3 affected components
WordPress plugin for Contact Form 7<=1.5.1
WPForms<=1.5.1
Elementor Forms<=1.5.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade wordpress/plugins/database-for-contact-form-7-wpforms-elementor-forms to a version that resolves this vulnerability.

    Fixed in 1.5.1
  2. Compensating control

    Mitigate the impact by restricting network access so that only authenticated/authorized users can submit form requests that would reach Contact Form Entries' handler (e.g., block unauthenticated access to the Elementor Pro Form Upload field submission endpoints via firewall/WAF/ACL).

  3. Operational

    After upgrading, review the server for any unintended files that may have been copied/disclosed and remove any artifacts created during exploitation.

Event History

Jul 2, 2026
CVE Published
via MITRE·09:32 AM
Data Sourced
via MITRE·09:32 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:16 AM
DescriptionSeverityWeakness
Jul 4, 58550
Event
via FIRST·12:41 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-9145?

The severity of CVE-2026-9145 is medium with a score of 6.5.

2

How do I fix CVE-2026-9145?

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

3

What does CVE-2026-9145 exploit?

CVE-2026-9145 exploits a vulnerability in the handling of raw_value in Elementor Pro's Form_Record object allowing for unauthenticated arbitrary file uploads.

4

Which versions are affected by CVE-2026-9145?

CVE-2026-9145 affects versions of the Database for Contact Form 7, WPforms, Elementor forms plugin up to and including 1.5.1.

5

What type of vulnerability is CVE-2026-9145?

CVE-2026-9145 is classified as a Path Traversal vulnerability that allows unauthorized file copying or uploading.

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