Critical · 9.8 WordPress CVE-2026-114432
Unauthenticated Arbitrary File Upload in Contact Form 7 Plugin (CVE-2026-114432)
Contact Form 7 versions from 6.2 up to (not including) 6.2.4 fail to validate uploaded file types and leave temporary files on disk, allowing unauthenticated attackers to upload arbitrary files. On some server configurations this can lead to remote code execution.
By PatchBriefing · ·
Produced automatically from official sources with the help of AI. How we work →
AI summary
A vulnerability has been identified in Contact Form 7, a widely used WordPress plugin for building contact forms. The issue allows unauthenticated attackers to upload files through form file fields without any validation of file type or extension, due to a flaw in how temporary files are cleaned up after upload. Depending on the server configuration, this can range from unwanted file storage to full remote code execution.
What happened
A vulnerability tracked as CVE-2026-114432 was identified in Contact Form 7 for WordPress. The plugin does not validate the type or extension of files uploaded through a form file field, and a flaw in its cleanup process for temporary files leaves the uploaded file on disk. As a result, unauthenticated users can upload arbitrary files to the site.
Technical cause
The root cause is twofold: the plugin lacks validation of the file type or extension for files submitted through form file fields, and a separate flaw in the temporary-file cleanup routine fails to remove the uploaded file after processing. This combination means an attacker-supplied file can persist on the server's filesystem without any content restrictions being enforced. The vulnerability is classified under CWE-434 (Unrestricted Upload of File with Dangerous Type).
Why it matters
On a stock Debian or Ubuntu Apache configuration that lists directory contents and maps the .phar extension to the PHP handler, an attacker can locate and execute the uploaded file, resulting in remote code execution. On other configurations, including nginx and Apache with .htaccess overrides enabled, the impact is limited to an arbitrary file being written into the uploads directory. Even in that more limited scenario, the file may still be served as active content, such as HTML or SVG, from the site's own origin, which can be used for phishing, stored cross-site scripting, or other abuse.
Who is affected
Any WordPress site running Contact Form 7 version 6.2 up to, but not including, 6.2.4 is affected. The vulnerability does not require authentication, so any publicly accessible form with a file upload field on an affected site is exposed.
Affected versions
Contact Form 7 versions from 6.2 up to (not including) 6.2.4 are affected.
Fixes and mitigation
The fact package indicates no fix is currently available for this vulnerability. Site operators should review their server configuration: in particular, disabling directory listing and ensuring that the .phar extension is not mapped to the PHP handler can reduce the risk of remote code execution on Apache-based setups. Restricting or disabling file upload fields on public-facing forms until a fix is released is also advisable.
Recommended action
Site owners using Contact Form 7 with form file upload fields should monitor for an official update addressing this issue and apply it as soon as it becomes available. In the meantime, review server configuration to avoid directory listing and PHP execution of uploaded files, and consider temporarily disabling file upload fields on public forms if feasible.
PatchBriefing score
9.8 / 10 · Critical
Official CVSS: 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS 0.0083 (55 percentile)
Why this score
The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.
Affected versions
- Contact Form 7 ≥ 6.2 < 6.2.4
- vulnerable
- ≥ 6.2.4
- patched
Reported fixes
The fact package indicates no fix is currently available for this vulnerability. Site operators should review their server configuration: in particular, disabling directory listing and ensuring that the .phar extension is not mapped to the PHP handler can reduce the risk of remote code execution on Apache-based setups. Restricting or disabling file upload fields on public-facing forms until a fix is released is also advisable.
How this was built
3 source records were collected, matched and used to prepare the report above.
-
NVD (NIST) database
-
CVE.org database
-
WPVulnerability database
Revision history
- Published
- Generated
- Published
- Early Warning