Ninja Forms - File Uploads: Filesystem traversal
Ninja Forms - File Uploads is affected by filesystem traversal. The vulnerable path is reachable without authentication. A crafted path can escape the intended directory and reach files or directories elsewhere on the server. The published affected range is <= 3.3.29.
- Component
- Ninja Forms - File Uploads
- Plugin slug
ninja-forms-uploads- Affected
- <= 3.3.29
- Safe version
> 3.3.29- Published
- Jul 02, 2026
This CVE was published Jul 02, 2026 and is one of 3 known issues for this plugin.
Patch or disable the affected component.
Update Ninja Forms - File Uploads to a release after 3.3.29, or disable and remove it until a fixed version is available.
Technical description
The Ninja Forms - File Uploads plugin for WordPress is vulnerable to Arbitrary File Read via the attach_files() function in versions up to, and including, 3.3.29. This is due to the get_files_for_attachment() function accepting a raw attacker-controlled 'files' array when the process() method returns early due to a client-supplied saveProgress flag, bypassing all upload validation, path normalization, and database record creation steps, and allowing an attacker-supplied file_path value to reach wp_mail() as an email attachment with only a file_exists() check. This makes it possible for unauthenticated attackers to read arbitrary files on the affected site's server.
CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N