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.
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?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| yt-dlp | yt-dlp | yt-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?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | yt-dlp | < 2023.7.06 | 2023.7.06 | GHSA-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?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| youtube-dlc project | youtube-dlc | all versions | application |
| yt-dl | youtube-dl | from 2015.01.25 | application |
| yt-dlp project | yt-dlp | before 2023.07.06 | application |
| yt-dlp project | yt-dlp | before 2023.07.06.185519 | application |
| fedoraproject | fedora | 37 | operating system |
| fedoraproject | fedora | 38 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 06:05 UTC.
How severe is CVE-2023-35934?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N | GitHub_M |
| High 8.2 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N | NVD |
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?
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
- CWE-601 URL Redirection to Untrusted Site
Where are the vendor advisories and references?
- https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-v8mc-9377-rwjj x_refsource_CONFIRM
- https://github.com/yt-dlp/yt-dlp/commit/1ceb657bdd254ad961489e5060f2ccc7d556b729 x_refsource_MISC
- https://github.com/yt-dlp/yt-dlp/commit/3121512228487c9c690d3d39bfd2579addf96e07 x_refsource_MISC
- https://github.com/yt-dlp/yt-dlp/commit/f8b4bcc0a791274223723488bfbfc23ea3276641 x_refsource_MISC
- https://github.com/yt-dlp/yt-dlp-nightly-builds/releases/tag/2023.07.06.185519 x_refsource_MISC
- https://github.com/yt-dlp/yt-dlp/releases/tag/2023.07.06 x_refsource_MISC
- https://lists.fedoraproject.org/archives/list/[email protected]/message/IM44RJL2MR2WG3ZY354C5IUEEZUJGEVA/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/5X6YT6AQE5FHM5VTQLKKJXSYBLLJF26W/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/HEOKCGVONGHR2SYUIXU33A4MKXZBDP6L/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/M7E7CQ5S5KMZHAMCNU7V7KYNBVCPLBHG/
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?
- Jul 8, 2026CVE-2026-55404 yt-dlp: injection
- Jun 23, 2026CVE-2026-50019 yt-dlp: information disclosure
- Jun 23, 2026CVE-2026-50574 yt-dlp: injection
- Jun 23, 2026CVE-2026-50023 yt-dlp: improper Restriction of Names for Files and Other Resources
- Feb 24, 2026CVE-2026-26331 yt-dlp: OS command injection
- Jul 22, 2025CVE-2025-54072 yt-dlp: OS command injection
- Jul 2, 2024CVE-2024-38519 yt-dlp: incorrect resource transfer
- Apr 9, 2024CVE-2024-22423 yt-dlp: OS command injection
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.