PT-2026-48380 · Yt-Dlp+1 · Yt-Dlp+1

·

CVE-2026-50574

·

Published

2026-06-10

·

Updated

2026-07-13

CVSS v3.1

9.6

Critical

VectorAV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions yt-dlp versions prior to 2026.06.09
Description When using aria2c as an external downloader for fragmented manifest formats like HLS or DASH streams, insufficiently sanitized input allows an attacker to perform arbitrary file writes. This occurs because yt-dlp constructs an input file for aria2c using the -i option, and attackers can inject arbitrary options into this file. There are two primary attack vectors: injecting newlines via HTML escape sequences (
) in DASH manifests, or injecting newlines and magnet URIs through metadata fields like title when the --no-windows-filename option is used to disable filename sanitization.
On Windows, this can lead to immediate arbitrary code execution by writing a malicious ffmpeg.exe to the current working directory. On other platforms, arbitrary code execution can occur during subsequent invocations of yt-dlp by writing a malicious configuration file (yt-dlp.conf) containing a malicious --exec argument.
Recommendations Update to version 2026.06.09. As a temporary workaround, add --downloader dash,m3u8:native to the command line to avoid using aria2c for these formats.

Exploit

Fix

Special Elements Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-50574
GHSA-VX4Q-3CR2-7CG2
OPENSUSE-SU-2026:11019-1
OPENSUSE-SU-2026:21163-1
PYSEC-2026-3433

Affected Products

Aria2C
Yt-Dlp