CVE-2026-72571: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in mustafaakin cast-localvideo
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.
AI Analysis
Technical Summary
CVE-2026-72571 is a path traversal vulnerability in the mustafaakin cast-localvideo application affecting all versions. The vulnerability occurs because the app.js handler at lines 151-153 uses the user-supplied req.body.dir parameter directly in res.sendFile() without any input validation or sanitization. This allows an unauthenticated remote attacker to craft requests with directory traversal sequences (e.g., ../) or absolute paths to read arbitrary files on the server filesystem. The CVSS 3.1 score is 7.5 (high severity) with vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N, indicating network attack vector, low attack complexity, no privileges or user interaction required, and high confidentiality impact.
Potential Impact
An unauthenticated remote attacker can exploit this vulnerability to read arbitrary files on the server hosting cast-localvideo. This can lead to disclosure of sensitive information such as configuration files, credentials, or other critical data. There is no indication of integrity or availability impact. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should consider restricting access to the affected service, implementing network-level controls to limit exposure, or applying custom input validation to sanitize the req.body.dir parameter to prevent directory traversal sequences.
CVE-2026-72571: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in mustafaakin cast-localvideo
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 v3.1
Score 7.5high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-72571 is a path traversal vulnerability in the mustafaakin cast-localvideo application affecting all versions. The vulnerability occurs because the app.js handler at lines 151-153 uses the user-supplied req.body.dir parameter directly in res.sendFile() without any input validation or sanitization. This allows an unauthenticated remote attacker to craft requests with directory traversal sequences (e.g., ../) or absolute paths to read arbitrary files on the server filesystem. The CVSS 3.1 score is 7.5 (high severity) with vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N, indicating network attack vector, low attack complexity, no privileges or user interaction required, and high confidentiality impact.
Potential Impact
An unauthenticated remote attacker can exploit this vulnerability to read arbitrary files on the server hosting cast-localvideo. This can lead to disclosure of sensitive information such as configuration files, credentials, or other critical data. There is no indication of integrity or availability impact. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should consider restricting access to the affected service, implementing network-level controls to limit exposure, or applying custom input validation to sanitize the req.body.dir parameter to prevent directory traversal sequences.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- TuranSec
- Date Reserved
- 2026-08-10T10:32:53.853Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a79ae6ebf8831d5398afd11
Added to database: 08/10/2026, 10:56:46 UTC
Last enriched: 08/10/2026, 11:14:00 UTC
Last updated: 08/11/2026, 03:41:00 UTC
Views: 6
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.