What’s Vulnerable › Vulnerabilities
CVE-2026-50019: yt-dlp: File Downloader cookie leak with curl
- Severity: high (CVSS 7.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-23 · updated 2026-06-26
- Weakness: CWE-200
Description
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.
Affected products
- yt-dlp: from 2023.09.24 before 2026.06.09 — fixed in 2026.06.09
How to fix
Upgrade to a fixed version: yt-dlp 2026.06.09. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-50019 or the next vulnerability affects your stack