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

6.5
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CVE CVE-2026-9145
CVSS 6.5 (Medium)
Publicly Published July 1, 2026
Last Updated July 2, 2026
Researcher Jonah Burgess (CryptoCat)

Description

The Database for Contact Form 7, WPforms, Elementor forms plugin for WordPress is vulnerable to Arbitrary File Copy via the create_entry_el() function in versions up to, and including, 1.5.1. The function reads raw_value from Elementor Pro's Form_Record 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, raw_value 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 elementor_pro/forms/new_record hook and populates the Form_Record 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.

References

Share

Vulnerability Details for Database for Contact Form 7, WPforms, Elementor forms

Software Type Plugin
Software Slug contact-form-entries (view on wordpress.org)
Patched? Yes
Remediation Update to version 1.5.2, or a newer patched version
Affected Version
  • <= 1.5.1
Patched Version
  • 1.5.2

Recent vulnerabilities in Database for Contact Form 7, WPforms, Elementor forms

# Title CVE ID CVSS Researchers Date
1 Database for Contact Form 7, WPforms, Elementor forms <= 1.5.2 - Unauthenticated Stored Cross-Site Scripting CVE-2026-57708 7.2 daroo July 10, 2026
2 Database for Contact Form 7, WPforms, Elementor forms <= 1.5.2 - Reflected Cross-Site Scripting CVE-2026-14870 6.1 Luca Jungnickel July 7, 2026
3 Database for Contact Form 7, WPforms, Elementor forms <= 1.5.1 - Unauthenticated PHP Object Injection CVE-2026-12081 8.1 Meher Sudhakar Abbireddi June 22, 2026
4 Database for Contact Form 7, WPforms, Elementor forms <= 1.5.1 - Unauthenticated Arbitrary File Deletion via CF7 File Field POST Value CVE-2026-9843 8.1 daroo June 19, 2026
5 Database for Contact Form 7, WPforms, Elementor forms <= 1.4.9 - Missing Authorization to Authenticated (Contributor+) Sensitive Information Exposure via Shortcode CVE-2026-3831 4.3 Quốc Huy (jtwings) March 31, 2026
6 Database for Contact Form 7, WPforms, Elementor forms <= 1.4.7 - Unauthenticated PHP Object Injection via 'download_csv' CVE-2026-2599 9.8 Chiao-Lin Yu (Steven Meow) March 4, 2026
7 Database for Contact Form 7, WPforms, Elementor forms <= 1.4.5 - Missing Authorization to Unauthenticated Form Data Exfiltration via CSV Export CVE-2026-0825 5.3 Teerachai Somprasong January 27, 2026
8 Database for Contact Form 7, WPforms, Elementor forms <= 1.4.3 - Unauthenticated PHP Object Injection to Arbitrary File Deletion CVE-2025-7384 9.8 mikemyers August 12, 2025
9 Database for Contact Form 7, WPforms, Elementor forms <= 1.3.8 - Unauthenticated Stored Cross-Site Scripting CVE-2024-3715 7.2 Tim Coen April 22, 2024
10 Database for Contact Form 7, WPforms, Elementor forms <= 1.3.3 - Authenticated(Contributor+) Stored Cross-Site Scripting via shortcode CVE-2024-2030 6.4 Krzysztof Zając March 6, 2024

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation