CVE-2026-92164 Streamlink: HTTPSession follows HTTP redirects into file:// URLs, reading local files

Medium 6.5 Published Updated

A remote server can redirect Streamlink to local file URLs, allowing attackers to read local files and leak their contents into stream output.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-92164?

CVE-2026-92164 is a medium-severity path traversal vulnerability in streamlink, published on 23 Sep 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Streamlink is a CLI utility which pipes video streams from various services into a video player. Prior to 8.6.0, HTTPSession mounts a FileAdapter for the file scheme and inherits redirect handling from requests.Session without rejecting cross-protocol redirects. A remote server controlling an HTTP or HTTPS URL reached by Streamlink can return a redirect to a local file URL, causing HTTPSession to read the local file and return its contents to the response consumer. This bypasses the direct file URL checks added for HLS and DASH content because the manifest contains an ordinary network URL and the scheme transition occurs later during fetch handling. The flaw applies to every request made through HTTPSession, and a segment fetch can place the local file contents into stream output. This issue is fixed in version 8.6.0.

Weakness: CWE-73

Which versions are affected by CVE-2026-92164?

3 open source packages ship an affected version, including streamlink.

PackageAffectedFixed in
streamlink PyPIAll versions8.6.0
streamlink PyPIAll versions8.6.0
streamlink PyPIAll versions8.6.0

How do I fix CVE-2026-92164?

Upgrade streamlink to 8.6.0 or later.

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

Is CVE-2026-92164 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-92164 exists.

Sources

Also known as DEBIAN-CVE-2026-92164, GHSA-vf2x-4v53-pm7v, PYSEC-2026-4172, UBUNTU-CVE-2026-92164.

Is CVE-2026-92164 in your software?

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

Check your SBOMs for free