Skip to content
Fencer Vulns
medium 6.1

CVE-2026-50019 json

yt-dlp: File Downloader cookie leak with curl

published 2026-06-16 4 mo ago modified 2026-07-20 3 mo ago also EUVD-2026-38497 , GHSA-f7j3-774f-rfhj , PYSEC-2026-3431

cvss
6.1
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 25%
public exploits
0
none known

Summary

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.

Patch / fix

  • pypi yt-dlp 2026.6.9
  • youtube-dlc_project youtube-dlc 2026.06.09
  • yt-dl youtube-dl 2026.06.09
  • yt-dlp-nightly-builds_project yt-dlp-nightly-builds 2026.06.09
  • yt-dlp_project yt-dlp 2026.06.09
  • yt-dlp Debian 14 2026.06.09-1

debian advisories DEBIAN-CVE-2026-50019

  • yt-dlp openSUSE Leap 16.0 2026.06.09-bp160.1.1
  • yt-dlp openSUSE Tumbleweed 2026.06.09-1.1

opensuse advisories openSUSE-SU-2026:21163-1openSUSE-SU-2026:11019-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-50019 updated cvss 7.4

yt-dlp: file downloader cookie leak with curl

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
4 mo ago

Exploit prediction

0.32% chance of exploitation in the next 30 days, higher than 25% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 6.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N
GitHub 3.1 6.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N
NVD 3.1 7.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
OSV 3.1 6.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
pypi yt-dlp
>=2023.9.24, <2026.6.9
2026.6.9

Affected products

  • yt-dlp yt-dlp

Classification

Weakness
  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.