CVE-2026-72571

7.5

mustafaakin · cast-localvideo

A path traversal vulnerability in the mustafaakin cast-localvideo application allows unauthenticated remote attackers to read arbitrary files from the host server.

Executive summary

An unauthenticated path traversal vulnerability exists in all versions of the cast-localvideo application, posing a critical risk of unauthorized sensitive file access.

Vulnerability

The application improperly handles user-supplied input in the app.js handler, where the req.body.dir parameter is passed directly to the res.sendFile function. This lack of sanitization allows an unauthenticated remote attacker to use directory traversal sequences to access files outside the intended web directory.

Business impact

Successful exploitation allows unauthorized access to arbitrary files on the server, potentially exposing configuration files, environment variables, or other sensitive system data. With a CVSS score of 7.5, this vulnerability represents a significant risk to confidentiality, as attackers can bypass standard access controls to exfiltrate information from the host.

Remediation

Immediate Action: Since all versions are affected and no official patch is listed, users should restrict network access to the application or deactivate the service until a secure version is released.

Proactive Monitoring: Review web server access logs for requests containing directory traversal patterns such as "../" or absolute file paths.

Compensating Controls: Deploy a Web Application Firewall (WAF) to filter and block requests containing path traversal sequences directed at the vulnerable endpoint.

Exploitation status

Public Exploit Available: No (unknown)

Analyst recommendation

Due to the lack of a current patch and the ease of exploitation, immediate mitigation is required. Organizations currently running this software should treat it as insecure and restrict external access until the vendor provides a remediation or the application is replaced.