Skip to content
OpenAdvisories
Medium · 6.1 CVE-2026-50019 EUVD-2026-38497GHSA-f7j3-774f-rfhjPYSEC-2026-3431

yt-dlp: File Downloader cookie leak with curl

Published Jun 23, 2026 · Updated Jun 23, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
Debian 14 yt-dlp 2026.06.09-1 —
Debian 13 yt-dlp No fix yet —
ReleasePackageFixed inAdvisory
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 —
ReleasePackageFixed inAdvisory
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

EcosystemPackageAffectedFixedRecord
PyPI yt-dlp >= 2023.9.24, < 2026.6.9 2026.6.9 GHSA-f7j3-774f-rfhj

Advisories 2

References