Skip to main content
← All vulnerabilities
CVE-2026-50019GHSA-F7J3-774F-RFHJPYSEC-2026-3431

yt-dlp: File Downloader cookie leak with curl

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2026.06.09, 2026.6.9
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

yt-dlp is a command-line audio/video downloader. From 2023.09.24 until 2026.06.09, if curl is used as an external downloader for yt-dlp, cookies may be leaked to an unintended host upon HTTP redirect or when the host for download fragments differs from their parent manifest's. At the file download stage, the cookies are passed by yt-dlp to the file downloader via --cookie. However, unless these are loaded from a file, this operation does not activate the cookie engine. As a result, curl will send cookies with requests to domains or paths for which the cookies are not scoped. This vulnerability is fixed in 2026.06.09.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • yt-dlp yt-dlp

    From 2023.09.24 · fixed in 2026.06.09

  • yt-dlpPyPI

    From 2023.9.24 · fixed in 2026.6.9

References 1

GitHub · yt-dlp/yt-dlp