CVE-2026-72571 mustafaakin cast-localvideo - Unauthenticated Path Traversal via dir Parameter

High 7.5 Published Updated

Unauthenticated attackers can read arbitrary files from the server via path traversal in the dir parameter of cast-localvideo.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-72571?

CVE-2026-72571 is a high-severity path traversal vulnerability in mustafaakin cast-localvideo, published on 10 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-22

Which versions are affected by CVE-2026-72571?

How do I fix CVE-2026-72571?

No fix has been published for CVE-2026-72571 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-72571 being exploited?

There is no known exploitation of CVE-2026-72571 in the wild and no public exploit code.

Sources

Also known as GHSA-2cj2-3364-qxxf.

Is CVE-2026-72571 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free