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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| yt-dlp | yt-dlp | >= 2023.09.24, < 2026.06.09 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | yt-dlp | 2026.06.09-1 | — |
| Debian 13 | yt-dlp | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | yt-dlp | No fix yet | — |
| Ubuntu 26.04 LTS | yt-dlp | No fix yet | — |
| Ubuntu 25.10 | yt-dlp | No fix yet | — |
| Ubuntu 24.04 LTS | yt-dlp | No fix yet | — |
| Ubuntu 22.04 LTS | yt-dlp | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | yt-dlp | 2026.06.09-1.1 | openSUSE-SU-2026:11019-1 |
| openSUSE Leap 16.0 | yt-dlp | 2026.06.09-bp160.1.1 | openSUSE-SU-2026:21163-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | yt-dlp | >= 2023.9.24, < 2026.6.9 | 2026.6.9 | GHSA-f7j3-774f-rfhj |
Advisories 2
- openSUSE-SU-2026:21163-1 Security update for yt-dlp SUSE / openSUSE Security Updates · Jun 30, 2026
- openSUSE-SU-2026:11019-1 python313-yt-dlp-2026.06.09-1.1 on GA media SUSE / openSUSE Security Updates · Jun 13, 2026