CVE-2026-92164

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

Published Sep 23, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Streamlink is a command‑line video streamer that fetches content by following HTTP(S) URLs. Before version 8.6.0, its HTTPSession component allowed HTTP or HTTPS responses that contained a redirect to a file:// URL to be followed without validation. The session then opened and returned the contents of the local file referenced by the redirect. This behavior exposes arbitrary local files on the host running Streamlink, allowing a remote media source to exfiltrate data that the user could otherwise not access. The vulnerability corresponds to CWE‑73, an external control of file name or path.

Affected Systems

All installations of Streamlink older than 8.6.0 are affected. The flaw exists in the core HTTPSession logic which processes every request, not just the initial stream URL. Users running any of those versions on any platform could be exposed if a media source they contact provides the redirect. The fix was included in release 8.6.0.

Risk and Exploitability

The CVSS score of 6.5 indicates a moderate severity. Exploitation requires only that a remote media provider send a malicious redirect; no elevated privileges or authentication are needed on the host. The EPSS score is not available, so the likelihood of exploitation is uncertain. Because the issue is not listed in the CISA KEV catalog, it has not been reported as a “known exploited vulnerability” in that database. Nevertheless, the vulnerability can leak any file readable by the Streamlink process, making it a concern for systems that handle sensitive data.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Streamlink to version 8.6.0 or later to block file:// redirects.
  • Validate or whitelist URLs before passing them to Streamlink, ensuring only trusted content sources are used.
  • If an immediate upgrade is not possible, configure HTTP proxies or firewalls to reject or block redirects that target the file:// scheme, or otherwise enforce no cross‑protocol redirects.

Generated by OpenCVE AI on September 23, 2026 at 16:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-vf2x-4v53-pm7v Streamlink: HTTPSession follows HTTP redirects into file:// URLs, reading local files
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Streamlink
Streamlink streamlink
Vendors & Products Streamlink
Streamlink streamlink
Type Values Removed Values Added
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.
Title Streamlink: HTTPSession follows HTTP redirects into file:// URLs, reading local files
Weaknesses CWE-73
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N'}

Weaknesses
  • CWE-73

    External Control of File Name or Path

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 29, 2026, 1:57 AM
Reserved
Sep 15, 2026, 5:13 PM
Status
Awaiting Analysis
Published
Sep 23, 2026, 3:17 PM
Modified
Sep 29, 2026, 2:16 AM