
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-5710 is a Path Traversal vulnerability (CWE-22) in the "Drag and Drop Multiple File Upload for Contact Form 7" WordPress plugin that allows unauthenticated attackers to read arbitrary files via the mfile[] POST parameter. It affects all versions up to and including 1.3.9.6, developed by glenwpcoder. The vulnerability was disclosed on April 17, 2026, with a patch released the same day. It carries a CVSS v3.1 base score of 7.5 (High), assigned by Wordfence (Wordfence Advisory, GitHub Advisory).
The root cause is the plugin's use of client-supplied mfile[] POST values as the authoritative source for email attachment selection without any server-side upload provenance check, path canonicalization, or directory containment enforcement (CWE-22). In dnd_wpcf7_posted_data(), user-submitted filenames are directly appended to the plugin's upload URL without sanitization; in dnd_cf7_mail_components(), the URL is converted back to a filesystem path via str_replace(), and only file_exists() is used as a gate before attaching the file to the outgoing Contact Form 7 email. An attacker can inject path traversal sequences (e.g., ../../) into the mfile[] parameter to reference files outside the intended upload directory. The scope of exploitation is partially constrained by the wpcf7_is_file_path_in_content_dir() function in the Contact Form 7 plugin, which limits traversal to within the wp-content directory (Wordfence Advisory, Plugin Source L477).
Successful exploitation allows unauthenticated remote attackers to read and exfiltrate arbitrary files readable by the web server process within the wp-content directory, with the contents delivered as email attachments via the Contact Form 7 submission flow. Sensitive files potentially exposed include WordPress configuration fragments, plugin configuration files, database credentials, private keys, or other sensitive data stored under wp-content. There is no integrity or availability impact; the vulnerability is purely a confidentiality risk (Wordfence Advisory, GitHub Advisory).
No public proof-of-concept exploit code has been identified, and there is no evidence of active in-the-wild exploitation at this time (Wordfence Advisory). The vulnerability requires no authentication, no user interaction, and no special privileges, making it trivially exploitable by any network-accessible attacker against a vulnerable installation. The EPSS score is approximately 0.14% (0.001410), indicating a low near-term exploitation probability. The vulnerability has not been added to the CISA Known Exploited Vulnerabilities (KEV) catalog. Qualys has added detection for this CVE (Feedly).
readme.txt at /wp-content/plugins/drag-and-drop-multiple-file-upload-contact-form-7/readme.txt.mfile[] parameter. For example, set mfile[] to a value like ../uploads/../../plugins/some-plugin/config.php or another file within wp-content that contains sensitive data.dnd_wpcf7_posted_data() function appends the attacker-controlled filename to the upload URL, and dnd_cf7_mail_components() converts it to a filesystem path and attaches the file to the outgoing CF7 notification email — provided file_exists() returns true and the path resolves within wp-content.mfile[] parameter values with path traversal sequences (e.g., ../, ..%2F, URL-encoded variants) in web server access logs.mfile[] values referencing files outside the plugin's upload directory; outbound SMTP activity triggered by form submissions with unexpected file attachments.Update the "Drag and Drop Multiple File Upload for Contact Form 7" plugin to a version newer than 1.3.9.6 immediately; the patch was released on April 17, 2026 (changeset 3508522) (Plugin Changeset). As a temporary workaround prior to patching, consider disabling the plugin or restricting file access permissions at the web server level to minimize the scope of files readable by the web server process within wp-content. Implement server-side input validation, path canonicalization, and strict directory containment boundary enforcement for any file upload mechanisms (Wordfence Advisory).
Wordfence disclosed the vulnerability and assigned the CVE on April 17, 2026, including it in their weekly WordPress vulnerability report for April 13–19, 2026 (Wordfence Blog). Sucuri also noted the vulnerability in their April 2026 vulnerability patch roundup (Sucuri Blog). RedPacket Security published a CVE alert and shared it on Mastodon, contributing to broader community awareness (RedPacket Security). General community reaction has been measured, consistent with the absence of active exploitation or public PoC code.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."