CVEBrief

Home / yt-dlp / yt-dlp / CVE-2023-35934

CVE-2023-35934: is it exploited, and which versions of yt-dlp are affected and fixed?

CVE-2023-35934 is an information disclosure vulnerability in yt-dlp. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: yt-dlp before 2023.7.06 (GitHub advisory GHSA-v8mc-9377-rwjj). Fixed in 2023.7.06 (GitHub advisory GHSA-v8mc-9377-rwjj). Severity: Medium (6.1, CVSS 3.1, from GitHub_M).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:38 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 12:38 UTC
Affected
yt-dlp before 2023.7.06
GitHub advisory GHSA-v8mc-9377-rwjj
Fixed in
2023.7.06
GitHub advisory GHSA-v8mc-9377-rwjj
Severity
Medium 6.1
CVSS 3.1 from GitHub_M
Exploit odds (EPSS)
1.05% in 30 days
higher than 65% of CVEs; FIRST, December 2, 2026

What is CVE-2023-35934?

yt-dlp File Downloader cookie leak

yt-dlp is a command-line program to download videos from video sites. During file downloads, yt-dlp or the external downloaders that yt-dlp employs may leak cookies on HTTP redirects to a different host, or leak them when the host for download fragments differs from their parent manifest's host. This vulnerable behavior is present in yt-dlp prior to 2023.07.06 and nightly 2023.07.06.185519. All native and external downloaders are affected, except for `curl` and `httpie` (version 3.1.0 or later). At the file download stage, all cookies are passed by yt-dlp to the file downloader as a `Cookie` header, thereby losing their scope. This also occurs in yt-dlp's info JSON output, which may be used by external tools. As a result, the downloader or external tool may indiscriminately send cookies with requests to domains or paths for which the cookies are not scoped. yt-dlp version 2023.07.06 and nightly 2023.07.06.185519 fix this issue by removing the `Cookie` header upon HTTP redirects; having native downloaders calculate the `Cookie` header from the cookiejar, utilizing external downloaders' built-in support for cookies instead of passing them as header arguments, disabling HTTP redirectiong if the external downloader does not have proper cookie support, processing cookies passed as HTTP headers to limit their scope, and having a separate field for cookies in the info dict storing more information about scoping Some workarounds are available for those who are unable to upgrade. Avoid using cookies and user authentication methods. While extractors may set custom cookies, these usually do not contain sensitive information. Alternatively, avoid using `--load-info-json`. Or, if authentication is a must: verify the integrity of download links from unknown sources in browser (including redirects) before passing them to yt-dlp; use `curl` as external downloader, since it is not impacted; and/or avoid fragmented formats such as HLS/m3u8, DASH/mpd and ISM.

From the CVE record by GitHub_M, last updated February 13, 2025, 16:55 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
yt-dlpyt-dlpyt-dlp < 2023.07.06
yt-dlp < nightly 2023.07.06.185519

As the CVE record by GitHub_M states it, last updated February 13, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
PyPIyt-dlp< 2023.7.062023.7.06GHSA-v8mc-9377-rwjj

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 6, 2023. Summary: yt-dlp File Downloader cookie leak.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
youtube-dlc projectyoutube-dlcall versionsapplication
yt-dlyoutube-dlfrom 2015.01.25application
yt-dlp projectyt-dlpbefore 2023.07.06application
yt-dlp projectyt-dlpbefore 2023.07.06.185519application
fedoraprojectfedora37operating system
fedoraprojectfedora38operating system

NVD analysis (status Modified), last modified June 17, 2026, 06:05 UTC.

How severe is CVE-2023-35934?

ScoreVersionVectorSource
Medium 6.1CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:NGitHub_M
High 8.2CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:NNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2023-35934 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: partial (CISA ADP, November 19, 2024)
EPSS
1.05% probability of exploitation activity in the next 30 days, percentile 65.2 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
June 20, 2023
Published
July 6, 2023, 19:39 UTC
CVE record updated
February 13, 2025, 16:55 UTC by GitHub_M
NVD
Modified, last modified June 17, 2026, 06:05 UTC
Last checked
CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:38 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect yt-dlp?

Every CVE in yt-dlp

Questions about CVE-2023-35934

Is CVE-2023-35934 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 1.05% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of yt-dlp are affected by CVE-2023-35934?

yt-dlp before 2023.7.06, per the GitHub advisory GHSA-v8mc-9377-rwjj. The tables above give every range the sources list.

Which version fixes CVE-2023-35934?

2023.7.06, per the GitHub advisory GHSA-v8mc-9377-rwjj. Check the vendor's advisory before you rely on it.

How severe is CVE-2023-35934?

Medium (6.1, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.

Where is the official record of CVE-2023-35934?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.