CVE-2026-72571
Received Received - Intake

Path Traversal in cast-localvideo

Vulnerability report for CVE-2026-72571, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-10

Last updated on: 2026-08-10

Assigner: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-10
Last Modified
2026-08-10
Generated
2026-08-10
AI Q&A
2026-08-10
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
mustafaakin cast-localvideo *
mustafaakin cast-localvideo to all (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a path traversal vulnerability in the cast-localvideo tool. It allows an unauthenticated remote attacker to read arbitrary files from the server by exploiting unsanitized user input in the req.body.dir parameter. The app.js handler passes this parameter directly to res.sendFile(), enabling directory traversal via absolute paths or ../ sequences to access sensitive system files.

Detection Guidance

Check if the application is running and inspect network traffic for requests containing the 'dir' parameter in POST requests to the vulnerable endpoint. Look for unusual file reads or errors indicating path traversal attempts.

Impact Analysis

An attacker could exploit this to read sensitive files on the server, including configuration files, user data, or system files. This could lead to unauthorized access to confidential information, potential data breaches, or further attacks on the system.

Compliance Impact

This vulnerability could lead to unauthorized access to personal or sensitive data, violating GDPR and HIPAA requirements for data protection and confidentiality. Organizations using this tool may face compliance violations, legal penalties, and reputational damage.

Mitigation Strategies

Immediately stop using the mustafaakin/cast-localvideo application. Apply input validation to sanitize the 'dir' parameter before passing it to res.sendFile(). Ensure the application is updated if a patch is released.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-72571. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart