← Back to Patch Radar
PATCH RADAR / CVE-2026-115867

CVE-2026-115867: WordPress forms plugin file upload flaw, check versions and patch

Critical unauthenticated file upload flaw in the Database for Contact Form 7, WPforms, Elementor forms plugin up to 1.5.5 could allow code execution. Check versions and patch.

Critical · CVSS 3.1 · 9.8 · CVE disclosed
Published by phil.on on
THE FLAW, SIMPLY EXPLAINED

How this vulnerability works

A WordPress plugin that saves form entries can be tricked into copying a file the web server might later run as code, which could let an outsider take control of the site.

  1. How it starts

    A form entry reaches the plugin

    The plugin saves submissions from Contact Form 7, WPForms and Elementor forms. The source says the copy_files function accepts a file location chosen by the caller and does not require a signed-in account.

  2. What goes wrong

    File type is not checked

    The copy_files function does not check the file type and builds the saved file name without blocking scripts. The plugin's .htaccess guard does not work on Nginx, on some LiteSpeed setups, or on Apache with AllowOverride None, and it is not restored if deleted.

  3. What it means for you

    Possible code execution on the site

    An uploaded file that the server can run could let an unauthenticated attacker execute code remotely, giving high impact to confidentiality, integrity and availability. The source does not report that this has happened in the wild.

An everyday comparisonIt is like a reception desk that accepts any parcel, writes the sender's chosen label on it, and then hands it to a mailroom that opens anything marked as a delivery. A guard is posted at one door, but other doors have no guard and the guard is not replaced if they leave.

A simplified explanation of the reported flaw. Actual risk depends on the affected version and how the system is used.

Affected products

  • Database for Contact Form 7, WPforms, Elementor forms plugin for WordPress: all versions up to and including 1.5.5 are affected. The version range is confirmed as 0 through 1.5.5. CVSS: 9.8 (critical). The source does not list a fixed version.

Why it matters

A WordPress plugin that stores entries submitted through Contact Form 7, WPForms and Elementor forms has a file-upload flaw in its copy_files function. The function does not check the type of file being copied and lets the caller choose where the file comes from and what it is called. An unauthenticated attacker could therefore place a file that the web server might run as code, which could lead to remote code execution. The plugin tries to block this with an .htaccess file in its uploads folder, but that protection does not work on Nginx, on LiteSpeed in some configurations, or on Apache servers where AllowOverride None is set, and the file is not restored if deleted.

Checks and remediation

What to check

  1. Inventory every WordPress installation that uses the Database for Contact Form 7, WPforms, Elementor forms plugin and record the installed version. Any version up to and including 1.5.5 is affected.
  2. On self-hosted Ubuntu/Linux and other self-managed hosts, check the plugin version from the WordPress admin plugin list or with the WordPress command-line tool, for example wp plugin list.
  3. Confirm which web server is in use. The plugin's .htaccess protection is ineffective on Nginx, on LiteSpeed in some configurations, and on Apache when AllowOverride None is set.
  4. Check whether the plugin's uploads directory still contains its .htaccess file; the source states the file is not restored if it is deleted.
  5. For AWS and GCP managed WordPress offerings, check the provider's security bulletin for the affected plugin version and patch status, and contact the provider's support if the status is unclear.

Remediation steps

  1. Self-hosted Ubuntu/Linux: update the plugin through the WordPress admin update page or with wp plugin update, following the vendor advisory for the fixed version. If the source does not name a fixed version, treat the current release as unfixed and disable the plugin until a fix is available.
  2. Self-hosted Ubuntu/Linux: if the plugin must stay active, move it behind a web-server rule that blocks execution of scripts in its uploads directory and confirm the rule applies on the web server actually in use.
  3. AWS: on Amazon Lightsail or Amazon EC2 instances you manage, update or disable the plugin as in step 1. For managed WordPress services, apply the provider's recommended action or wait for the provider to publish a fix.
  4. GCP: on Compute Engine instances you manage, update or disable the plugin as in step 1. For managed WordPress services, follow the provider's guidance and confirm the plugin version after patching.
  5. Redeploy container images that bundle the plugin only after rebuilding them with the fixed plugin version.
  6. Verification: after the update, confirm the reported plugin version is no longer in the affected range, re-check that execution is blocked in the uploads directory, and review upload logs for unexpected script files.

Where the source does not confirm a fix, follow the vendor advisory and use only reversible defensive measures such as disabling the plugin or blocking script execution in its uploads directory.

Patch status

Patch status unconfirmed.

Workarounds

Workaround not documented.

CVSS and CWE

CVSS 3.1 · 9.8 · Wordfence ↗
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Additional CVSS assessments by source and scope

References

SHARE THIS NOTE