Advisory

CVE-2026-115867

CVSS 9.8 (CVE record)Published Nov 26, 2026Last verified Nov 30, 2026

An unauthenticated arbitrary file upload vulnerability in the "Database for Contact Form 7, WPforms, Elementor forms" plugin allows attackers to upload…

Exploited in the wild
Not reported
Installs not updated
At least 26.58%
Affected and fixed versions
ComponentAffectedFixed in
Database for Contact Form 7, WPforms, Elementor forms (plugin)1.5.5 and earlier1.5.6
Run a free scan of your site

The free scan checks what is visible from outside your site. It does not log in, and it cannot confirm on its own whether this specific issue is present.

Summary

An arbitrary file upload vulnerability exists in the Database for Contact Form 7, WPforms, Elementor forms plugin for WordPress. This flaw affects versions 1.5.5 and earlier. A patch is available in version 1.5.6. There is no evidence of active exploitation.

Affected and patched versions

  • Database for Contact Form 7, WPforms, Elementor forms (plugin contact-form-entries): affected 1.5.5 and earlier; fixed in 1.5.6

Is my site vulnerable?

To determine if your WordPress site is vulnerable, check the installed version of the "Database for Contact Form 7, WPforms, Elementor forms" plugin. This can be done through your WordPress administration dashboard.

Navigate to the "Plugins" section and select "Installed Plugins". Locate "Database for Contact Form 7, WPforms, Elementor forms" in the list. If the version number displayed is 1.5.5 or earlier, your site is exposed to this vulnerability.

For administrators who manage WordPress installations via the command line, the WP-CLI tool can provide this information. Execute the following command in your WordPress root directory to retrieve the installed version of the plugin:

wp plugin list --field=version --format=json | jq '.[] | select(.name == "contact-form-entries") | .version'

This command will output the version number of the plugin, which is typically identified by the slug contact-form-entries. If the output indicates a version of 1.5.5 or earlier, your site is vulnerable.

What an attacker actually does

The vulnerability in the Database for Contact Form 7, WPforms, Elementor forms plugin allows an unauthenticated attacker to upload arbitrary files to a compromised WordPress site. This is possible due to a flaw in the copy_files function, which is intended to handle file operations within the plugin. The function lacks proper validation of file extensions, creating a pathway for malicious activity.

Attackers can exploit this by providing specially crafted stream wrapper URIs as the source for file copy operations. Stream wrapper URIs allow for various protocols and methods to be used as file sources, such as php://input to read data directly from the request body. When an attacker supplies such a URI, the copy_files function processes it without adequately checking the file type or extension of the resulting destination file. This enables an attacker to specify an executable file extension, such as .php, .php5, or .phtml, for the uploaded file.

By uploading an executable file, an attacker can introduce malicious code onto the server. Once uploaded, this file can be accessed and executed by the attacker, leading to remote code execution. Remote code execution grants the attacker the ability to run arbitrary commands on the server, potentially leading to full control over the compromised WordPress installation and the underlying server environment. This could include defacing the website, injecting malware, stealing sensitive data, or using the server as a platform for further attacks.

The plugin does include an .htaccess file in its designated uploads directory, which is intended to block the execution of PHP files. However, this mitigation is not universally effective. On web servers configured with Nginx or LiteSpeed, or on Apache servers where AllowOverride None is set, the .htaccess file may not be honored, rendering the protection useless. Furthermore, if an attacker manages to delete the .htaccess file, the plugin does not automatically restore it, leaving the directory exposed to script execution. This combination of factors significantly increases the risk of successful exploitation and subsequent server compromise.

How to detect a compromise

Detecting a compromise related to this vulnerability involves inspecting your WordPress installation for unauthorized files and suspicious activity. The primary indicator of compromise would be the presence of unexpected executable files in the plugin's upload directories.

Begin by examining the wp-content/uploads/ directory and any subdirectories associated with the "Database for Contact Form 7, WPforms, Elementor forms" plugin. Look for files with executable extensions such as .php, .php5, .phtml, .phar, .cgi, .pl, or .py that do not belong to legitimate plugin operations. Malicious files often have obfuscated names or appear in unusual subdirectories. Check file modification dates for any recent changes that do not correspond to known updates or legitimate site activity.

Review your server's access logs and error logs for suspicious entries. Look for HTTP POST requests to plugin-related endpoints that might indicate an attempted file upload. Also, search for GET requests to newly created or unusual file paths within the wp-content/uploads/ structure, which could signify an attacker attempting to execute an uploaded backdoor. High numbers of requests to non-existent or unusual PHP files might also be an indicator.

You can use command-line tools to search for suspicious files. For example, to find PHP files modified recently within your wp-content/uploads directory, you might use a command similar to this (adjusting the path as necessary):

find /path/to/your/wordpress/wp-content/uploads -name "*.php" -mtime -7 -print

This command searches for PHP files modified within the last 7 days. Adjust -mtime to a relevant timeframe.

Additionally, monitor your server's resource usage. Unexpected spikes in CPU or network activity could indicate that a malicious script is running in the background, performing tasks such as sending spam, launching further attacks, or mining cryptocurrency. Regularly back up your site and compare file hashes of core WordPress files and legitimate plugin files against known good versions to detect unauthorized modifications.

How to fix

To address this vulnerability, follow these steps:

  1. Update the plugin: Immediately update the "Database for Contact Form 7, WPforms, Elementor forms" plugin to version 1.5.6 or a later version. This update contains the necessary patch to resolve the arbitrary file upload vulnerability. You can perform this update through the WordPress administration dashboard under "Plugins" or by using WP-CLI:

    wp plugin update contact-form-entries
  2. Scan for and remove malicious files: After updating, thoroughly scan your WordPress installation for any files that may have been uploaded by an attacker. Pay close attention to the wp-content/uploads/ directory and any subdirectories associated with the plugin. Remove any suspicious or unknown executable files (e.g., .php, .php5, .phtml) that do not belong to legitimate plugin or WordPress operations.

  3. Review server configurations: Verify that your web server configuration (Apache, Nginx, LiteSpeed) is set up to prevent script execution in upload directories, even with the .htaccess file in place. Ensure that AllowOverride directives are appropriately configured for Apache, and similar protections are in place for Nginx and LiteSpeed.

  4. Change credentials: As a precautionary measure, change all WordPress user passwords, especially for administrator accounts. Also, consider changing your WordPress database credentials and any API keys or secrets used by your site.

Timeline

No specific timeline information is available for this vulnerability in the provided data.

Sources

PowerSEC coverage
PowerSEC detects the affected versions on every plan, and has since November 26, 2026. No PowerSEC firewall rule blocks this attack. Update to 1.5.6 or later to remove the vulnerability.
This record contains material that is subject to copyright Copyright 2012-2026 Defiant Inc. Copyright 1999-2026 The MITRE Corporation
Hacked? Talk to us
CVE-2026-115867 | PowerSEC