Skip to main content

cast-localvideo CVE-2026-72571

| EUVDEUVD-2026-55235 HIGH
Path Traversal (CWE-22)
2026-08-10 TuranSec GHSA-2cj2-3364-qxxf
7.5
CVSS 3.1 · Vendor: TuranSec
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify internet-facing cast-localvideo instance
  2. Delivery
    Send POST request with crafted dir parameter (absolute path or ../ sequence)
  3. Exploit
    app.js passes unsanitized value to res.sendFile()
  4. Execution
    Server reads and returns targeted file
  5. Impact
    Attacker 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 dir body parameter set to an absolute path such as /etc/passwd or a traversal sequence like ../../../../root/.ssh/id_rsa; the application passes this value unmodified to res.sendFile(), which reads and returns the file contents in the HTTP response. No public POC has been confirmed at time of analysis, but the vulnerability is directly reproducible by any attacker inspecting the publicly available source at app.js lines 151-153. Because no authentication or user interaction is required, this attack is trivially automatable against any internet-facing instance.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.8% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

cast-localvideo 0

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

Vendor (TuranSec) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 7.5 HIGH

Network-accessible with zero authentication and no complexity required; impact is confidentiality-only (arbitrary file read) with no integrity or availability effect.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (TuranSec).

CVSS VectorVendor: TuranSec

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.8%
Top 48% exploitable
Prevalence
Rare
small open-source hobby utility, negligible enterprise production footprint
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.8%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy