CVE-2026-115867: Database for Contact Form 7, WPforms, Elementor forms <= 1.5.5 - Unauthenticated Arbitrary File Upload via Ninja Forms Submission

Published Nov 27, 2026
·
Updated

The Database for Contact Form 7, WPforms, Elementor forms plugin for WordPress is vulnerable to Arbitrary File Upload in all versions up to, and including, 1.5.5 via the copyfiles function. This is due to missing file extension validation in the copyfiles function, which accepts attacker-controlled stream wrapper URIs as the file source and derives the destination filename without restricting executable extensions. This makes it possible for unauthenticated attackers to upload files that may be executable, which makes remote code execution possible. The plugin places an .htaccess file in its uploads directory to block PHP execution, but this mitigation is ineffective on Nginx, LiteSpeed in certain configurations, and Apache servers with AllowOverride None, and the file is not restored if deleted.

Affected Software

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

Event History

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

Frequently Asked Questions

1

Which deployments are most exposed to remote code execution?

Deployments running an affected version on Nginx are exposed because the plugin's .htaccess-based PHP execution block is ineffective there. LiteSpeed deployments in certain configurations and Apache deployments configured with AllowOverride None are also exposed to this mitigation failure.

2

Does an attacker need an account or user interaction to exploit this issue?

No. The vulnerability is exploitable by an unauthenticated attacker and does not require user interaction.

3

Are installations protected by the plugin's .htaccess file safe?

The plugin attempts to block PHP execution in its uploads directory with an .htaccess file, but this does not protect Nginx and may not protect certain LiteSpeed or Apache configurations. Protection can also be lost if the .htaccess file is deleted, because the plugin does not restore it.

4

What condition allows the file upload to become code execution?

The affected copy_files function accepts attacker-controlled stream-wrapper URIs and does not restrict executable filename extensions. If an uploaded executable file can be executed by the web server from the plugin upload directory, remote code execution is possible.

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