Impact
yt‑dlp, a command‑line audio/video downloader, contains a flaw that permits a remote attacker to write arbitrary OS‑shortcut files (such as .desktop, .url, or .webloc) to the user's filesystem. This bypasses the remediation implemented for CVE‑2024‑38519, because the --write‑link option’s allowlist intentionally includes these unsafe extensions to preserve functionality. As a result, an attacker can craft malicious shortcut files during media or subtitle downloads; if a user opens one, remote code execution can occur.
Affected Systems
The affected product is yt‑dlp, any version released before 2026.06.09. The issue is specifically linked to the command‑line options that download media or subtitles and write shortcut files.
Risk and Exploitability
The CVSS score of 8.3 indicates high severity. EPSS data is not available and the vulnerability is not listed in the CISA KEV catalog. Local exploitation requires an attacker to craft a download that causes yt‑dlp to create a malicious OS‑shortcut file; if the victim later opens that file, arbitrary code execution can occur. The flaw was mitigated in release 2026.06.09.
OpenCVE Enrichment
Github GHSA