Skip to content
OpenAdvisories
High · 8.3 CVE-2026-50574 EUVD-2026-38495GHSA-vx4q-3cr2-7cg2PYSEC-2026-3433

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

Published Jun 23, 2026 · Updated Jun 25, 2026 · Assigned by GitHub_M

Description

yt-dlp is a command-line audio/video downloader. Prior to 2026.06.09, 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. This vulnerability is fixed in 2026.06.09.

Affected products

VendorProductAffectedFixed
yt-dlp yt-dlp < 2026.06.09 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 yt-dlp 2026.06.09-1 —
Debian 13 yt-dlp No fix yet —
Debian 12 yt-dlp No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 yt-dlp No fix yet —
Ubuntu 26.04 LTS yt-dlp No fix yet —
Ubuntu 25.10 yt-dlp No fix yet —
Ubuntu 24.04 LTS yt-dlp No fix yet —
Ubuntu 22.04 LTS yt-dlp No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed yt-dlp 2026.06.09-1.1 openSUSE-SU-2026:11019-1
openSUSE Leap 16.0 yt-dlp 2026.06.09-bp160.1.1 openSUSE-SU-2026:21163-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI yt-dlp < 2026.6.9 2026.6.9 GHSA-vx4q-3cr2-7cg2

Advisories 2

References