Advisory record · GHSA-c6mh-fpjc-4pr3

yt-dlp: Dangerous file type creation via insufficient filename sanitization (Bypass of CVE-2024-38519)

CVSS 8.3 HighEPSS 0.0066 · 51st percentile

Published by the GitHub Advisory Database at 16 Jun 2026, 20:59 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
yt-dlpPyPI<2026.6.92026.6.9
Identifiers
GHSA-c6mh-fpjc-4pr3 · CVE-2026-50023 · PYSEC-2026-3430
Weakness (CWE)
CWE-641
Published
16 Jun 2026
Updated
20 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

yt-dlp versions before 2026.6.9 are vulnerable. A remote attacker who can get a user to download media from a crafted playlist or manifest can cause yt-dlp to write attacker-controlled OS-shortcut files such as .desktop, .url or .webloc next to the downloaded media, which can lead to phishing or arbitrary code execution if the user opens the file. Upgrade to yt-dlp 2026.6.9. Users who cannot upgrade should only pass trusted URLs and avoid the subtitle and thumbnail write options.

Written 5 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.3 High 3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0066, the 51st percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:42 UTC First seen by agentprime
  2. 31 Oct 2026, 14:42 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.