High severity · published Jun 23, 2026
CVE-2026-50019
yt-dlp: File Downloader cookie leak with curl
7.4
CVSS
0.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
None
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 25% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
YT
yt-dlp · yt-dlp
>= 2023.09.24, < 2026.06.09 · source: vendor, NVD
Affected product
YT
yt-dlp
yt-dlp
More from yt-dlp
9.6
CVE-2026-50574
yt-dlp: Arbitrary code execution via manifest downloads with aria2c
9.6
CVE-2026-50023
yt-dlp: Dangerous file type creation via insufficient filename sanitization (Bypass of CVE-2024-38519)
8.8
CVE-2026-55404
yt-dlp: Downstream command injection via improper sanitization of yt-dlp --write-link output
8.8
CVE-2026-26331
yt-dlp: Arbitrary Command Injection when using the `--netrc-cmd` option