CVE-2026-18351 Drag and Drop File Upload for Elementor Forms <= 1.6.0 - Unauthenticated Arbitrary File Upload via 'type' Parameter
Unauthenticated attackers can upload executable files via a bypassed MIME check, leading to remote code execution on WordPress sites using this plugin.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-18351?
CVE-2026-18351 is a critical vulnerability in addonsorg Drag and Drop File Upload for Elementor Forms, published on 10 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The Drag and Drop File Upload for Elementor Forms plugin for WordPress is vulnerable to Arbitrary File Upload in all versions up to, and including, 1.6.0 via the elementor_file_upload function. This is due to insufficient file type validation in the is_file_type_valid() function, which uses the attacker-controlled 'type' parameter as regex keys in the MIME allowlist, allowing blacklist bypass via a crafted extension that sanitize_file_name() later normalizes to a PHP extension. This makes it possible for unauthenticated attackers to upload files that may be executable, which makes remote code execution possible.
Weakness: CWE-434
Which versions are affected by CVE-2026-18351?
How do I fix CVE-2026-18351?
No fix has been published for CVE-2026-18351 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-18351 being exploited?
There is no known exploitation of CVE-2026-18351 in the wild and no public exploit code.
Public exploit code: 2 proofs of concept on GitHub.
Sources
Also known as GHSA-fh47-jv9w-x723.