Live threats

All CVEs / Yt-dlp Project

CVE-2026-50023Yt-dlp Project Yt-dlp

Critical 9.6 No auth needed

Priority
73
CVSS 3.1
9.6
EPSS
—
Auth required
No
Published
Jun 23, 2026
Updated
Jun 26, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-641
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Yt-dlp.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI yt-dlp < 2026.6.9 2026.6.9 pip install "yt-dlp>=2026.6.9"
PyPI yt-dlp < 2026.6.9 2026.6.9 pip install "yt-dlp>=2026.6.9"

Per OSV / GitHub Advisories (GHSA-c6mh-fpjc-4pr3, PYSEC-2026-3430). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
yt-dlp_projectyt-dlp< 2026.06.09

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.