# yt-dlp has dependency on potentially malicious third-party code in Douyu extractors

Source: https://junglewise.ai/threats/yt-dlp-has-dependency-on-potentially-malicious-third-party-code-in-df97dcc4  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-07-08  
License: CC BY 4.0 with a link back

Severity: info · Published 2024-07-08

yt-dlp has dependency on potentially malicious third-party code in Douyu extractors

Technologies: [yt-dlp (PyPI)](https://junglewise.ai/threats/technologies/yt-dlp). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Informational severity, published 8 July 2024.

**Which products and versions are affected?** yt-dlp (PyPI) ECOSYSTEM:introduced=2023.09.24,fixed=2024.07.07.

**Is there a fix for This vulnerability?** Yes. yt-dlp (PyPI): upgrade to 2024.07.07 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected?** Check whether you run yt-dlp (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- yt-dlp (PyPI): upgrade to 2024.07.07 or later

  ```sh
  pip install "yt-dlp>=2024.07.07"
  ```


## Affected products

- yt-dlp (PyPI) ECOSYSTEM:introduced=2023.09.24,fixed=2024.07.07

## Related threats

- [PYSEC-2026-3432 - yt-dlp: Arbitrary Command Injection when using the `--netrc-cmd` option](https://junglewise.ai/threats/cve-2026-26331-yt-dlp-arbitrary-command-injection-when-using-the-netrc-cmd)
- [yt-dlp and youtube-dl command injection in shortcut file generation](https://junglewise.ai/threats/cve-2026-55404-yt-dlp-and-youtube-dl-command-injection-in-shortcut-file)
- [PYSEC-2026-2065 - yt-dlp File system modification and RCE through improper file-extension sanitization](https://junglewise.ai/threats/cve-2024-38519-yt-dlp-file-system-modification-and-rce-through-improper-file)
- [PYSEC-2026-2066 - yt-dlp: `--exec` command injection when using `%q` in yt-dlp on Windows (Bypass of )](https://junglewise.ai/threats/cve-2024-22423-yt-dlp-exec-command-injection-when-using-q-in-yt-dlp-on-windows)
- [PYSEC-2026-2063 - yt-dlp Generic Extractor MITM Vulnerability via Arbitrary Proxy Injection](https://junglewise.ai/threats/cve-2023-46121-yt-dlp-generic-extractor-mitm-via-arbitrary-proxy-injection)
