PT-2026-48379

CVE-2026-50023

·

Published

2026-06-10

·

Updated

2026-10-06

Description by

CVSS 3.1
9.6
Critical
MetricsAV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions yt-dlp versions prior to 2026.06.09
Description A flaw allows a remote attacker to write arbitrary OS-shortcut files, such as .desktop, .url, and .webloc, to the user's filesystem. This occurs because the file extension allowlist used to prevent unsafe downloads explicitly included these shortcut extensions to maintain the functionality of the --write-link option. Attackers can exploit this by crafting a malicious m3u8 file containing an EXT-X-MEDIA:TYPE=SUBTITLES tag with a malicious URI. If a user employs the --write-subs option, the software may write attacker-controlled content to a file with a shortcut extension. These files can contain shell commands or point to remote executables, enabling phishing attacks or arbitrary code execution if a user is deceived into opening them.
Recommendations Update yt-dlp to version 2026.06.09. As a temporary workaround, only provide fully trusted input URLs to the software. As a temporary workaround, avoid using the --write-subs, --write-auto-subs, --embed-subs, --write-thumbnail, --write-all-thumbnails, or --embed-thumbnail options. As a temporary workaround, use --format - to interactively select download formats and validate their file extensions.
Exploitability
Exploit
Fix
Researchers
Vendors
Affected products
Related identifiers
GHSA-C6MH-FPJC-4PR3
OPENSUSE-SU-2026:11019-1
OPENSUSE-SU-2026:21163-1
PYSEC-2026-3430
Found an issue in the description? Have something to add? Feel free to write us 👾