CVE-2026-13369
JSON

7.5high

Ninja Forms - File Uploads <= 3.3.29 - Unauthenticated Arbitrary File Read via File Upload Field 'files[].data.file_path' Parameter

Severity
7.5high CVSS:3.1 by Wordfence
Exploit likelihood
0.41% (higher than 37% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Wordfence

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.

Affected

Product or packageVersionsReported by
SaturdayDrive Ninja Forms - File Uploadsup to 3.3.29CVE List

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

El plugin Ninja Forms - File Uploads para WordPress es vulnerable a la lectura arbitraria de archivos a través de la función attach_files() en versiones hasta la 3.3.29, inclusive. Esto se debe a que la función get_files_for_attachment() acepta un array ’files’ sin procesar y controlado por el atacante cuando el método process() retorna anticipadamente debido a un indicador saveProgress proporcionado por el cliente, omitiendo todos los pasos de validación de carga, normalización de rutas y creación de registros en la base de datos, y permitiendo que un valor file_path proporcionado por el atacante llegue a wp_mail() como un archivo adjunto de correo electrónico con solo una verificación de file_exists(). Esto hace posible que atacantes no autenticados lean archivos arbitrarios en el servidor del sitio afectado.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-13369 changed 2026-07-02CVE Terms of Use
NVDCVE-2026-13369 changed 2026-10-25Public domain