Vulnerabilities / CVE-2026-50023

critical

CVE-2026-50023

yt-dlp is a command-line audio/video downloader. Prior to 2026.06.09, ...

Published Modified CWE 641
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.6CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
GHSA8.4CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (high).

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.

Affected packages and fixed versions

SourcePackageFixed in
debian 12yt-dlpno fix listed
debian 13yt-dlpno fix listed
debian 14yt-dlp2026.06.09-1
echoyt-dlpno fix listed
pip::GitHub Security Advisory pipyt-dlp2026.6.9
rapidfort alpine 3.20yt-dlp2026.06.09-r0
rapidfort alpine 3.21yt-dlp2026.06.09-r0
rapidfort alpine 3.22yt-dlp2026.06.09-r0
rapidfort alpine 3.23yt-dlp2026.06.09-r0
rapidfort alpine 3.24yt-dlp2026.06.09-r0
rapidfort debian 12yt-dlp0:2026.06.09-1
rapidfort debian 13yt-dlp0:2026.06.09-1
Show all 21 entries from 16 sources
SourcePackageFixed in
debian 12yt-dlpno fix listed
debian 13yt-dlpno fix listed
debian 14yt-dlp2026.06.09-1
echoyt-dlpno fix listed
pip::GitHub Security Advisory pipyt-dlp2026.6.9
rapidfort alpine 3.20yt-dlp2026.06.09-r0
rapidfort alpine 3.21yt-dlp2026.06.09-r0
rapidfort alpine 3.22yt-dlp2026.06.09-r0
rapidfort alpine 3.23yt-dlp2026.06.09-r0
rapidfort alpine 3.24yt-dlp2026.06.09-r0
rapidfort debian 12yt-dlp0:2026.06.09-1
rapidfort debian 13yt-dlp0:2026.06.09-1
rapidfort fedora 43yt-dlp2026.06.09-1.fc43
rapidfort fedora 43yt-dlp+default2026.06.09-1.fc43
rapidfort fedora 43yt-dlp+secretstorage2026.06.09-1.fc43
rapidfort fedora 43yt-dlp-bash-completion2026.06.09-1.fc43
rapidfort fedora 43yt-dlp-fish-completion2026.06.09-1.fc43
rapidfort fedora 43yt-dlp-zsh-completion2026.06.09-1.fc43
rapidfort ubuntu 20.04yt-dlp0:2026.06.09-1
rapidfort ubuntu 22.04yt-dlp0:2026.06.09-1
rapidfort ubuntu 24.04yt-dlp0:2026.06.09-1

References

All 10 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.