← Vulnerability feed

Vulnerability record · CVE-2026-50023 · published 23 June 2026

CVE-2026-50023: Yt-dlp project yt-dlp vulnerability

Yt Dlp Project · Yt Dlp

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.

9.6 CVSS 3.1 Critical EPSS 0.66% · top 50.2% CWE-641 · CWE-641
9.6CVSS 3.1 base score
0.66%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References, 1 tagged exploit
26 Jun 2026Last modified by NVD

Description

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-50023 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2024-3566Haskell process library command injection vulnerabilityA command inject vulnerability allows an attacker to perform command injection on Windows applications that indirectly depend on the CreateProcess fu…EPSS 6.9%9.8CVE-2024-22423Yt-dlp project yt-dlp os command injection vulnerabilityyt-dlp is a youtube-dl fork with additional features and fixes. The patch that addressed CVE-2023-40581 attempted to prevent RCE when using `--exec` …EPSS 1.3%9.6CVE-2026-50574Yt-dlp project yt-dlp injection vulnerabilityyt-dlp is a command-line audio/video downloader. Prior to 2026.06.09, if aria2c is used as an external downloader for a fragmented manifest format (s…EPSS 0.46%8.8CVE-2026-55404Yt-dlp project yt-dlp injection vulnerabilityyt-dlp and youtube-dl are command-line audio/video downloaders. Prior to 2026.7.4, the --write-link, --write-url-link, and --write-desktop-link optio…EPSS 0.64%8.8CVE-2026-26331Yt-dlp project yt-dlp os command injection vulnerabilityyt-dlp is a command-line audio/video downloader. Starting in version 2023.06.21 and prior to version 2026.02.21, when yt-dlp's `--netrc-cmd` command-…EPSS 2.0%8.2CVE-2023-35934Youtube-dlc project youtube-dlc information exposure vulnerabilityyt-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 m…EPSS 1.0%8.1CVE-2025-54072Yt-dlp project yt-dlp os command injection vulnerabilityyt-dlp is a feature-rich command-line audio/video downloader. In versions 2025.06.25 and below, when the --exec option is used on Windows with the de…EPSS 0.56%7.8CVE-2023-40581Yt-dlp project yt-dlp os command injection vulnerabilityyt-dlp is a youtube-dl fork with additional features and fixes. yt-dlp allows the user to provide shell command lines to be executed at various stage…EPSS 1.3%

Source: NIST National Vulnerability Database (record CVE-2026-50023), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.