Skip to content
Heist/ feed
Back to feed
High

mustafaakin cast-localvideo - Unauthenticated Path Traversal via dir Parameter

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-72571
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 10:35 UTC · Revision 1

Source evidence

mustafaakin cast-localvideo - Unauthenticated Path Traversal via dir Parameter

core-osv · Original source

Published 10 Aug 2026, 10:40 UTC

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.

osv:CVE-2026-72571
Complete source record
{
  "id": "0f2ac192da311b085b53650468b141eeb90053cd5f90ba1eb32f239d11287069",
  "url": "https://osv.dev/vulnerability/CVE-2026-72571",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "mustafaakin cast-localvideo - Unauthenticated Path Traversal via dir Parameter",
    "summary": "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.",
    "evidence": "osv:CVE-2026-72571",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-72571",
      "aliases": [
        "CVE-2026-72571"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mustafaakin/cast-localvideo",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "0"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72571.json"
          }
        }
      ],
      "modified": "2026-10-26T02:47:11.587930778Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72571.json",
        "https://github.com/mustafaakin/cast-localvideo",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-72571",
        "https://github.com/mustafaakin/cast-localvideo/blob/main/app.js"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-22"
        ],
        "cna_assigner": "TuranSec",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72571.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-72571",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 446703,
  "published_at": "2026-08-10T10:40:49.281+00:00"
}