PyPI (Python)Worst: High12 advisories

yt-dlp: known vulnerabilities

yt-dlp has 12 reviewed security advisories in the GitHub Advisory Database — 8 high, 3 moderate, 1 low. The most recent was published 2026-07-08. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the yt-dlp versions running across your servers, containers and images, and ranks what to patch first.

How to fix yt-dlp

Upgrade yt-dlp to a release at or above the fixed version shown for each advisory below. For PyPI (Python):

pip install --upgrade yt-dlp (pin yt-dlp>=2026.7.4)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (12)

yt-dlp: Downstream command injection via improper sanitization of yt-dlp --write-link output High 7.5 CWE-74 — Affected: before 2026.7.4. Fixed in 2026.7.4. Published 2026-07-08. GHSA-6v4j-43gg-vj32 · CVE-2026-55404
yt-dlp: Dangerous file type creation via insufficient filename sanitization (Bypass of CVE-2024-38519) High 8.3 CWE-641 — Affected: before 2026.6.9. Fixed in 2026.6.9. Published 2026-06-23. GHSA-c6mh-fpjc-4pr3 · CVE-2026-50023
yt-dlp: File Downloader cookie leak with curl Moderate 6.1 CWE-200 — Affected: from 2023.9.24 up to 2026.6.9. Fixed in 2026.6.9. Published 2026-06-23. GHSA-f7j3-774f-rfhj · CVE-2026-50019
yt-dlp: Arbitrary code execution via manifest downloads with aria2c High 8.3 CWE-74 — Affected: before 2026.6.9. Fixed in 2026.6.9. Published 2026-06-23. GHSA-vx4q-3cr2-7cg2 · CVE-2026-50574
yt-dlp: Arbitrary command injection possible if --exec option used with yt-dlp High 7.5 CWE-78 — Affected: from 2021.4.11 up to 2026.6.9. Fixed in 2026.6.9. Published 2026-06-16. GHSA-69qj-pvh9-c5wg
yt-dlp: Arbitrary Command Injection when using the `--netrc-cmd` option High 8.8 CWE-78 — Affected: from 2023.06.21 up to 2026.02.21. Fixed in 2026.02.21. Published 2026-02-24. GHSA-g3gw-q23r-pgqm · CVE-2026-26331
yt-dlp has dependency on potentially malicious third-party code in Douyu extractors Low — Affected: from 2023.09.24 up to 2024.07.07. Fixed in 2024.07.07. Published 2024-07-08. GHSA-3v33-3wmw-3785
yt-dlp File system modification and RCE through improper file-extension sanitization High 7.8 CWE-434 CWE-669 — Affected: before 2024.07.01. Fixed in 2024.07.01. Published 2024-07-02. GHSA-79w7-vh3h-8g4j · CVE-2024-38519
yt-dlp: `--exec` command injection when using `%q` in yt-dlp on Windows (Bypass of CVE-2023-40581) High 8.3 CWE-78 — Affected: from 2021.04.11 up to 2024.04.09. Fixed in 2024.04.09. Published 2024-04-09. GHSA-hjq6-52gw-2g7p · CVE-2024-22423
yt-dlp Generic Extractor MITM Vulnerability via Arbitrary Proxy Injection Moderate 5.0 CWE-444 CWE-613 — Affected: from 2022.10.04 up to 2023.11.14. Fixed in 2023.11.14. Published 2023-11-15. GHSA-3ch3-jhc6-5r8x · CVE-2023-46121
yt-dlp on Windows vulnerable to `--exec` command injection when using `%q` High 8.3 CWE-78 — Affected: from 2021.04.11 up to 2023.09.24. Fixed in 2023.09.24. Published 2023-09-25. GHSA-42h4-v29r-42qg · CVE-2023-40581
yt-dlp File Downloader cookie leak Moderate 6.1 CWE-200 CWE-601 — Affected: before 2023.7.06. Fixed in 2023.7.06. Published 2023-07-06. GHSA-v8mc-9377-rwjj · CVE-2023-35934

Find yt-dlp across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.