CVE catalog

CVE-2026-50023

yt-dlp is a command-line audio/video downloader. Prior to 2026.06.09, a vulnerability exists in yt-dlp that allows a remote attacker to write arbitrary OS-shortcut files (such as .desktop, .url, .webl

[CVE catalog]

Severity
Critical · CVSS 9.6CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.66% · Oct 25, 2026

yt-dlp is a command-line audio/video downloader. Prior to 2026.06.09, a vulnerability exists in yt-dlp that allows a remote attacker to write arbitrary OS-shortcut files (such as .desktop, .url, .webloc) to the user's filesystem, bypassing the remediation for CVE-2024-38519. The allowlist explicitly included the unsafe extensions .desktop, .url, and .webloc so that the functionality of the --write-link option (and its variants) could be preserved. These allowlist inclusions can be exploited by an attacker to write malicious OS-shortcut files in the context of a media or subtitles download. This vulnerability is fixed in 2026.06.09.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianyt-dlpsid2026.10.21-1fixed
Debianyt-dlpforky2026.10.21-1fixed
Debianyt-dlptrixie2025.04.30-1vulnerable
Debianyt-dlpbookworm2023.03.04-1vulnerable
Cpeyt-dlpNot reportedNot reportedvulnerable
Cpeyt-dlpNot reported2026.06.09fixed
PyPIyt-dlpNot reported2026.6.9fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianyt-dlpsourcesid2026.06.09-1not yet assignedNot reportedNot reported
Debianyt-dlpsourceforky2026.06.09-1not yet assignedNot reportedNot reported
Debianyt-dlpsourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debianyt-dlpsourcebookworm(unfixed)not yet assignedNot reportedNot reported
Cpeyt-dlpcpeNot reported2026.06.09Not reportedNot reportedNot reported
PyPIyt-dlpPyPINot reported2026.6.9Not reportedNot reportedNot reported

Notes

[trixie] yt-dlp: Minor issue [bookworm] yt-dlp: Minor issue; requires an attacker-supplied URL, --write-subs/--write-thumbnail and the user opening the written shortcut file

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [yt-dlp]Affected
    Details (4)
    • 2023.03.04-1 · all · bookworm

      Affected

      nvd · yt-dlp · debian · bookworm; nvd · yt-dlp · debian · 12

    • 2023.03.04-1 · all · bookworm

      Affected

      nvd · yt-dlp · debian · bookworm; nvd · yt-dlp · debian · 12

    • 2025.04.30-1~bpo12+1 · all · bookworm-backports

      Affected

      nvd · yt-dlp · debian · bookworm; nvd · yt-dlp · debian · 12

    • 2025.04.30-1~bpo12+1 · all · bookworm-backports

      Affected

      nvd · yt-dlp · debian · bookworm; nvd · yt-dlp · debian · 12

[Debian 13 (Trixie)]

  • [yt-dlp]Affected
    Details (4)
    • 2025.04.30-1 · all · trixie

      Affected

      nvd · yt-dlp · debian · 13

    • 2025.04.30-1 · all · trixie

      Affected

      nvd · yt-dlp · debian · 13

    • 2026.08.19-1~bpo13+1 · all · trixie-backports

      Affected

      nvd · yt-dlp · debian · 13

    • 2026.08.19-1~bpo13+1 · all · trixie-backports

      Affected

      nvd · yt-dlp · debian · 13

Observed:

References