Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. yt-dlp
  4. ›
  5. CVE-2026-50023

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

June 16, 2026 (updated July 20, 2026)

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.

References

  • github.com/advisories/GHSA-c6mh-fpjc-4pr3
  • github.com/pypa/advisory-database/tree/main/vulns/yt-dlp/PYSEC-2026-3430.yaml
  • github.com/yt-dlp/yt-dlp
  • github.com/yt-dlp/yt-dlp-nightly-builds/releases/tag/2026.06.09.230517
  • github.com/yt-dlp/yt-dlp/commit/e578e265f7c6ca94a74b30e0d8d6196a4d19fb6a
  • github.com/yt-dlp/yt-dlp/releases/tag/2026.06.09
  • github.com/yt-dlp/yt-dlp/security/advisories/GHSA-c6mh-fpjc-4pr3
  • nvd.nist.gov/vuln/detail/CVE-2024-38519
  • nvd.nist.gov/vuln/detail/CVE-2026-50023
  • pypi.org/project/yt-dlp

Code Behaviors & Features

Detect and mitigate CVE-2026-50023 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2026.6.9

Fixed versions

  • 2026.6.9

Solution

Upgrade to version 2026.6.9 or above.

Impact 8.3 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-641: Improper Restriction of Names for Files and Other Resources

Source file

pypi/yt-dlp/CVE-2026-50023.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:17 +0000.