Vulnerability · Published Jun 23, 2026 · Assigned by GitHub_M

CVE-2026-50019yt-dlp: File Downloader cookie leak with curl

Medium 6.1

In plain English

A medium-severity information exposure in yt-dlp from yt-dlp. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 25% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)0.3%top 75.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:13yt-dlpno fix listedDEBIAN-CVE-2026-50019
Debian:14yt-dlp2026.06.09-1DEBIAN-CVE-2026-50019
PyPIyt-dlp2026.6.9GHSA-f7j3-774f-rfhj
PyPIyt-dlp2026.6.9PYSEC-2026-3431
Ubuntu:22.04:LTSyt-dlpno fix listedUBUNTU-CVE-2026-50019
Ubuntu:24.04:LTSyt-dlpno fix listedUBUNTU-CVE-2026-50019
Ubuntu:25.10yt-dlpno fix listedUBUNTU-CVE-2026-50019
Ubuntu:26.04:LTSyt-dlpno fix listedUBUNTU-CVE-2026-50019
Ubuntu:26.10yt-dlpno fix listedUBUNTU-CVE-2026-50019

Affected products (as reported)

VendorProductVersions
yt-dlp yt-dlp >= 2023.09.24, < 2026.06.09

Weakness: CWE-200 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N

References