Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-92164 EUVD-2026-85336GHSA-vf2x-4v53-pm7vPYSEC-2026-4172

Streamlink: HTTPSession follows HTTP redirects into file:// URLs, reading local files

Published Sep 23, 2026 · Updated Sep 29, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
streamlink streamlink < 8.6.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 streamlink 8.6.0-1 —
Debian 13 streamlink No fix yet —
Debian 12 streamlink No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 streamlink No fix yet —
Ubuntu 26.04 LTS streamlink No fix yet —
Ubuntu 24.04 LTS streamlink No fix yet —
Ubuntu 22.04 LTS streamlink No fix yet —
Ubuntu 20.04 LTS streamlink No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS streamlink No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI streamlink < 8.6.0 8.6.0 GHSA-vf2x-4v53-pm7v

References