CVE-2026-5710 HIGH

CVE-2026-5710: Drag and Drop Multiple File Upload for Contact Form 7 <= 1.3.9.6 - Unauthenticated Limited Arbitrary File Read via mfile Field

Vendor Glenwpcoder
Product Drag and Drop Multiple File Upload for Contact Form 7
Weakness CWE-22 · Path traversal
Published April 17, 2026
Last update April 17, 2026

CVSS base score

7.5/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality High
Integrity None

CVSS vector

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

What the vulnerability does

01Description

The Drag and Drop Multiple File Upload for Contact Form 7 plugin for WordPress is vulnerable to Path Traversal leading to Arbitrary File Read in versions up to and including 1.3.9.6. This is due to the plugin using client-supplied mfile[] POST values as the source of truth for email attachment selection without performing any server-side upload provenance check, path canonicalization, or directory containment boundary enforcement. In dnd_wpcf7_posted_data(), each user-submitted filename is directly appended to the plugin's upload URL without sanitization. In dnd_cf7_mail_components(), the URL is converted back to a filesystem path using str_replace() and only file_exists() is used as the acceptance check before attaching the file to the outgoing CF7 email. This makes it possible for unauthenticated attackers to read and exfiltrate arbitrary files readable by the web server process via path traversal sequences in the mfile[] parameter, with files being disclosed as email attachments. Note: This vulnerability is limited to the 'wp-content' folder due to the wpcf7_is_file_path_in_content_dir() function in the Contact Form 7 plugin.

Explanation of Vulnerability in Simple Terms

02Summary

The Drag and Drop Multiple File Upload for Contact Form 7 plugin contains a path traversal vulnerability that allows unauthenticated attackers to read arbitrary files from the server. An attacker can craft a malicious request to access sensitive files outside the intended upload directory, such as configuration files or database credentials. No user interaction is required. This affects all versions up to and including 1.3.9.6.

What an attacker can do

03Attacker Capabilities

Read arbitrary files from the server, including configuration and sensitive data files.

Potential impact on your site

04Site Impact

Attackers can access sensitive files like wp-config.php, database backups, or private keys without logging in.

Conditions required to exploit

05Prerequisites

Network access only; no authentication or user interaction required.

Key dates

06Disclosure timeline

April 17, 2026 CVE published
April 17, 2026 Record updated

Related vulnerabilities

08Related CVE