{"id":"CVE-2026-72571","summary":"mustafaakin cast-localvideo - Unauthenticated Path Traversal via dir Parameter","details":"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.","modified":"2026-10-11T02:47:28.267652271Z","published":"2026-08-10T10:40:49.281Z","database_specific":{"cna_assigner":"TuranSec","cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72571.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72571.json"},{"type":"ADVISORY","url":"https://github.com/mustafaakin/cast-localvideo"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72571"},{"type":"ARTICLE","url":"https://github.com/mustafaakin/cast-localvideo/blob/main/app.js"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mustafaakin/cast-localvideo","events":[{"introduced":"0"},{"last_affected":"0"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"0"},{"last_affected":"0"}]}}],"versions":["0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72571.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}