A path traversal vulnerability in mustafaakin/cast-localvideo (all versions) allows an unauthenticated remote attacker to read arbitrary files from… (CVE-2026-72571)
A path traversal vulnerability exists in all versions of mustafaakin/cast-localvideo. An unauthenticated remote attacker can exploit this flaw to read arbitrary files on the server by supplying a crafted directory path to the vulnerable handler in app.js. This occurs because the user input is passed directly to res.sendFile() without proper sanitization, allowing directory traversal sequences such as ../ to access sensitive files.
AI Analysis
Technical Summary
The vulnerability in mustafaakin/cast-localvideo arises from improper input validation in the app.js file at lines 151-153, where the req.body.dir parameter is passed directly to res.sendFile() without sanitization. This allows an unauthenticated attacker to perform directory traversal attacks by using absolute paths or ../ sequences, enabling the reading of arbitrary files on the server. The CVSS 3.1 score is 7.5 (High), reflecting the network attack vector, low complexity, no privileges required, no user interaction, and high confidentiality impact with no integrity or availability impact. No patch or official remediation has been provided as of the published date.
Potential Impact
An unauthenticated remote attacker can read arbitrary files on the affected server, potentially exposing sensitive system files and data. This compromises confidentiality but does not affect integrity or availability. The vulnerability can be exploited remotely without any authentication or user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, it is recommended to implement input validation and sanitization on the req.body.dir parameter to prevent directory traversal sequences. Restricting file access to a safe directory whitelist or using secure APIs that do not allow arbitrary file paths can mitigate the risk.
A path traversal vulnerability in mustafaakin/cast-localvideo (all versions) allows an unauthenticated remote attacker to read arbitrary files from… (CVE-2026-72571)
Description
A path traversal vulnerability exists in all versions of mustafaakin/cast-localvideo. An unauthenticated remote attacker can exploit this flaw to read arbitrary files on the server by supplying a crafted directory path to the vulnerable handler in app.js. This occurs because the user input is passed directly to res.sendFile() without proper sanitization, allowing directory traversal sequences such as ../ to access sensitive files.
CVSS v3.1
Score 7.5high
Affected software
pkg:github/mustafaakin/cast-localvideoRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in mustafaakin/cast-localvideo arises from improper input validation in the app.js file at lines 151-153, where the req.body.dir parameter is passed directly to res.sendFile() without sanitization. This allows an unauthenticated attacker to perform directory traversal attacks by using absolute paths or ../ sequences, enabling the reading of arbitrary files on the server. The CVSS 3.1 score is 7.5 (High), reflecting the network attack vector, low complexity, no privileges required, no user interaction, and high confidentiality impact with no integrity or availability impact. No patch or official remediation has been provided as of the published date.
Potential Impact
An unauthenticated remote attacker can read arbitrary files on the affected server, potentially exposing sensitive system files and data. This compromises confidentiality but does not affect integrity or availability. The vulnerability can be exploited remotely without any authentication or user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, it is recommended to implement input validation and sanitization on the req.body.dir parameter to prevent directory traversal sequences. Restricting file access to a safe directory whitelist or using secure APIs that do not allow arbitrary file paths can mitigate the risk.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-2cj2-3364-qxxf
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-72571"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a79f0cdbf8831d539f609d1
Added to database: 08/10/2026, 15:39:57 UTC
Last enriched: 08/10/2026, 15:49:59 UTC
Last updated: 08/11/2026, 03:41:00 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.