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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | yt-dlp | no fix listed | DEBIAN-CVE-2026-50019 |
| Debian:14 | yt-dlp | 2026.06.09-1 | DEBIAN-CVE-2026-50019 |
| PyPI | yt-dlp | 2026.6.9 | GHSA-f7j3-774f-rfhj |
| PyPI | yt-dlp | 2026.6.9 | PYSEC-2026-3431 |
| Ubuntu:22.04:LTS | yt-dlp | no fix listed | UBUNTU-CVE-2026-50019 |
| Ubuntu:24.04:LTS | yt-dlp | no fix listed | UBUNTU-CVE-2026-50019 |
| Ubuntu:25.10 | yt-dlp | no fix listed | UBUNTU-CVE-2026-50019 |
| Ubuntu:26.04:LTS | yt-dlp | no fix listed | UBUNTU-CVE-2026-50019 |
| Ubuntu:26.10 | yt-dlp | no fix listed | UBUNTU-CVE-2026-50019 |
Affected products (as reported)
Weakness: CWE-200 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N
References
- https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-f7j3-774f-rfhj x_refsource_CONFIRM