Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify internet-facing cast-localvideo instance
-
DeliverySend POST request with crafted dir parameter (absolute path or ../ sequence)
-
Exploitapp.js passes unsanitized value to res.sendFile()
-
ExecutionServer reads and returns targeted file
-
ImpactAttacker exfiltrates sensitive system files (credentials, keys, configs)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | No special conditions are required beyond a network-reachable cast-localvideo instance - the CVSS vector (AV:N/AC:L/PR:N/UI:N) confirms unauthenticated remote exploitation against default configurations with no user interaction and no elevated privileges. The primary limiting factor is deployment context: cast-localvideo is designed as a local-network utility, and instances bound only to localhost or a private LAN are not directly reachable from the internet. Exploitation is further bounded to confidentiality impact (file read); no write, delete, or code execution primitive is introduced by this vulnerability. The server process's OS-level file permissions limit which files can be read - files owned by other users with restricted permissions may not be accessible depending on the user context under which cast-localvideo runs. |
| Impact | The CVSS 3.1 score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N) accurately characterizes the exploitability - network-accessible, zero authentication, low complexity, no user interaction - and the confidentiality impact is high, as arbitrary file read can expose credentials, private keys, and configuration secrets. Unlike many high-CVSS findings that are attenuated by real-world deployment constraints, the exploitation conditions here fully align with the vector: default deployments are vulnerable. No EPSS score was provided, limiting probabilistic forecasting, but the attack mechanics are trivial and reproducible directly from published source code. No CISA KEV listing and no confirmed public POC reduce immediate mass-exploitation concern, though the transparency of the vulnerable code in the public repository means the barrier to exploitation is minimal. Population-level risk is moderated by the product's apparent niche as a local-network hobby utility with limited enterprise adoption. |
| Exploit ScenarioDerived | An attacker sends an HTTP POST request to the cast-localvideo endpoint with a crafted |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 10, 2026
Path traversal in mustafaakin/cast-localvideo (all versions) exposes arbitrary server files to unauthenticated remote attackers with trivial effort. The Node.js HTTP handler in app.js at lines 151-153 passes the user-supplied req.body.dir parameter directly to res.sendFile() without any path sanitization, permitting ../ sequences or absolute paths to escape the intended directory. No patch has been identified at time of analysis, no public exploit has been confirmed, and the CVSS:3.1/AV:N/AC:L/PR:N/UI:N vector means any internet-facing deployment is trivially exploitable.
RemediationAI
No vendor-released patch has been identified at time of analysis. The most effective immediate control is restricting cast-localvideo to listen only on localhost or a trusted private network interface, eliminating the network attack vector entirely without impacting local use cases. If network exposure is operationally required, place the service behind an authenticated reverse proxy (e.g., nginx with HTTP Basic Auth or mutual TLS) to enforce authentication and optionally filter traversal sequences before they reach the application - note that proxy-level filtering of path traversal is fragile and should be treated as defense-in-depth, not a primary control. As a code-level fix, the req.body.dir parameter should be validated using path.resolve() against an allowlisted base directory with a strict prefix check before being passed to res.sendFile(), or replaced with an index-based selection mechanism that never accepts raw filesystem paths from user input. Monitor https://github.com/mustafaakin/cast-localvideo for any upstream patch.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
cast-localvideo is a Node.js application that serves local video content over HTTP. The vulnerability is rooted in CWE-22 (Improper Limitation of a Pathname to a Restricted Directory - Path Traversal): the Express.js res.sendFile() method in app.js lines 151-153 receives the raw req.body.dir POST parameter without normalization, allowlisting, or prefix enforcement, allowing attackers to supply values such as /etc/passwd or ../../../../etc/shadow. Node.js's res.sendFile() will faithfully resolve and serve any file the process has read permissions on. The affected CPE cpe:2.3:a:mustafaakin:cast-localvideo:*:*:*:*:*:*:*:* covers all released versions with no lower or upper bound.
Know when Cast Localvideo gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Network-accessible with zero authentication and no complexity required; impact is confidentiality-only (arbitrary file read) with no integrity or availability effect.
Primary rating from Vendor (TuranSec).
CVSS VectorVendor: TuranSec
DescriptionCVE.org
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.
Executive ViewAI
mustafaakin/cast-localvideo contains an unauthenticated remote vulnerability allowing attackers to download arbitrary files from affected servers, including configuration data, credentials, and source code. No authentication is required and exploitation requires minimal effort, making any internet-facing deployment at immediate risk. Organizations using this library must urgently implement protection measures, as no vendor patch is currently available to remediate the vulnerability.
No vendor-released patch identified at time of analysis. Organizations must implement immediate interim mitigations: (1) Network segmentation restricting access to the vulnerable service from untrusted networks; (2) Web Application Firewall (WAF) with path traversal detection rules to block '../' and other directory escape patterns in request parameters; (3) Reverse proxy (nginx or Apache) with strict input validation and filesystem jail to confine file serving to intended directories; (4) Disable the vulnerable service if operationally feasible; (5) Enforce least privilege on the application process filesystem permissions to limit exposure scope; (6) Enable comprehensive audit logging of file access and network requests to detect exploitation attempts.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
EUVD-2026-55235
GHSA-2cj2-3364-qxxf
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB