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

CVE-2026-50574: yt-dlp: Arbitrary code execution via manifest downloads with aria2c

June 16, 2026

If aria2c is used as an external downloader for a fragmented manifest format (such as an HLS/DASH stream), yt-dlp passes insufficiently sanitized input to aria2c that allows an attacker to perform an arbitrary file write. On Windows platforms, this can lead to immediate arbitrary code execution. On non-Windows platforms, this can lead to arbitrary code execution upon the next invocation of yt-dlp.

References

  • github.com/advisories/GHSA-vx4q-3cr2-7cg2
  • github.com/yt-dlp/yt-dlp-nightly-builds/releases/tag/2026.06.09.230517
  • github.com/yt-dlp/yt-dlp/commit/25056f0d2d47adbd235a8d422fa62d68d0be2bc2
  • github.com/yt-dlp/yt-dlp/releases/tag/2026.06.09
  • github.com/yt-dlp/yt-dlp/security/advisories/GHSA-vx4q-3cr2-7cg2
  • nvd.nist.gov/vuln/detail/CVE-2026-50574

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

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-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 17 Jun 2026 12:20:28 +0000.