CVE-2026-114432

Contact Form 7 6.2 - 6.2.3 - Unauthenticated Arbitrary File Upload via Invalid UTF-8 Filename

Published Nov 8, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
Description
The Contact Form 7 WordPress plugin before 6.2.4 does not validate the type or extension of files uploaded through a form file field, and a flaw in its temporary-file cleanup leaves the uploaded file on disk, allowing unauthenticated users to upload arbitrary files to the site. On a stock Debian or Ubuntu Apache configuration, which lists directory contents and maps .phar to the PHP handler, the stored file can be located and executed, leading to Remote Code Execution. On other configurations, including nginx and Apache with .htaccess overrides enabled, the issue is limited to an arbitrary file written into the uploads directory, which may still be served as active content such as HTML or SVG from the site's own origin.

Analysis

AI-generated

Technical impact

The Contact Form 7 WordPress plugin, prior to version 6.2.4, fails to validate the type or extension of files uploaded via a form file field. Coupled with a flaw in the temporary-file cleanup routine, this allows an unauthenticated user to place an arbitrary file on the server’s filesystem. On a default Debian or Ubuntu Apache setup that exposes directory listings and treats .phar files as executable PHP, the attacker can upload a malicious .phar or PHP file and trigger its execution, resulting in full remote code execution. Where directory listings are disabled or .htaccess overrides are enabled, the vulnerability still permits an unauthenticated user to write any file to the uploads directory; if the web server serves the file as active content such as HTML or SVG, the attacker can inject scripts or other dangerous content, potentially allowing defacement or data exfiltration.

Affected Systems

WordPress sites using the Contact Form 7 plugin version 6.2 through 6.2.3 are affected. The issue arises in any deployment of this plugin that allows file uploads through its contact form fields, regardless of theme or other plugins. The impact is most severe on installations that run default Apache configurations on Debian or Ubuntu, but also applies to nginx or Apache setups with .htaccess overrides where arbitrary files can still be served.

Risk and Exploitability

The exploit is straightforward: an attacker can submit a form that includes a file with a chosen filename and MIME type. Because the plugin does not enforce file type restrictions, a malicious payload can be uploaded. Once stored, the file remains on disk due to the missing cleanup, providing a persistence mechanism. The vulnerability can lead to remote code execution if the uploaded file is executable by the web server, or to the delivery of active content that can compromise the site’s users. The CVSS score of 9.8 indicates critical severity, and the EPSS score of < 1% shows a very low probability of exploitation. The vulnerability is not listed in the CISA KEV catalog; however, the potential for RCE combined with the lack of a mitigation policy makes the risk high. Attackers need only send a crafted HTTP request to the contact form endpoint, which is generally accessible on a public‑facing site.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Contact Form 7 to version 6.2.4 or later. The vendor’s release notes indicate that file validation and temporary‑file cleanup are fixed.
  • Configure the plugin or WordPress to restrict allowed upload MIME types and file extensions, and enforce strict validation of uploaded filenames. This reduces the chances of a malicious file being accepted.
  • After uploading, confirm that the web server is configured to prevent execution of files in the uploads directory; apply a .htaccess or equivalent rule to turn off PHP execution and directory listing.

Generated by OpenCVE AI on November 8, 2026 at 20:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Wordpress-extensions
Wordpress-extensions contact Form 7
Vendors & Products Wordpress-extensions
Wordpress-extensions contact Form 7
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-434
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Description The Contact Form 7 WordPress plugin before 6.2.4 does not validate the type or extension of files uploaded through a form file field, and a flaw in its temporary-file cleanup leaves the uploaded file on disk, allowing unauthenticated users to upload arbitrary files to the site. On a stock Debian or Ubuntu Apache configuration, which lists directory contents and maps .phar to the PHP handler, the stored file can be located and executed, leading to Remote Code Execution. On other configurations, including nginx and Apache with .htaccess overrides enabled, the issue is limited to an arbitrary file written into the uploads directory, which may still be served as active content such as HTML or SVG from the site's own origin.
Title Contact Form 7 6.2 - 6.2.3 - Unauthenticated Arbitrary File Upload via Invalid UTF-8 Filename
References
Weaknesses
  • CWE-434

    Unrestricted Upload of File with Dangerous Type

Sources

Status
PUBLISHED
Assigner
WPScan
Published
Updated
Nov 8, 2026, 7:05 PM
Reserved
Oct 21, 2026, 1:35 PM
Status
Deferred
Published
Nov 8, 2026, 6:17 AM
Modified
Nov 10, 2026, 4:28 PM