CVE-2026-72571
JSON

7.5high

mustafaakin cast-localvideo - Unauthenticated Path Traversal via dir Parameter

Severity
7.5high CVSS:3.1 by TuranSec
Exploit likelihood
1.15% (higher than 67% of CVEs)
Published
Last changed
Assigned by
TuranSec

Description

A path traversal vulnerability in mustafaakin/cast-localvideo (all versions) allows an unauthenticated remote attacker to read arbitrary files from the server. The app.js handler at lines 151-153 passes the user-supplied req.body.dir parameter directly to res.sendFile() without sanitization, enabling directory traversal via absolute paths or ../ sequences to read sensitive system files.

Affected

Product or packageVersionsReported by
mustafaakin cast-localvideo0CVE List

Classification

CWE-22

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

What each source says

CVE List

A path traversal vulnerability in mustafaakin/cast-localvideo (all versions) allows an unauthenticated remote attacker to read arbitrary files from the server. The app.js handler at lines 151-153 passes the user-supplied req.body.dir parameter directly to res.sendFile() without sanitization, enabling directory traversal via absolute paths or ../ sequences to read sensitive system files.

NVD (es)

Una vulnerabilidad de salto de ruta en mustafaakin/cast-localvideo (todas las versiones) permite a un atacante remoto no autenticado leer archivos arbitrarios del servidor. El gestor app.js en las líneas 151-153 pasa el parámetro req.body.dir proporcionado por el usuario directamente a res.sendFile() sin sanitización, lo que permite el salto de directorio a través de rutas absolutas o secuencias .. / para leer archivos sensibles del sistema.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-72571 changed 2026-08-10CVE Terms of Use
NVDCVE-2026-72571 changed 2026-10-24Public domain