CVE-2026-50574: Aria2c Crlf Injection

Detected potentially unsafe generation of an aria2c input list file. Formatting an unsanitized URL alongside `\\n\\tout=` allows CRLF injection, letting attackers inject arbitrary aria2c options (such as arbitrary file writes or executing scripts via `on-download-complete`). In yt-dlp, this led to RCE via attacker-controlled DASH/HLS manifests (CVE-2026-5057

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Python
greprules fetch cve-2026-50574-aria2c-crlf-injection --engine opengrep

Description

Detected potentially unsafe generation of an aria2c input list file. Formatting an unsanitized URL alongside `\\n\\tout=` allows CRLF injection, letting attackers inject arbitrary aria2c options (such as arbitrary file writes or executing scripts via `on-download-complete`). In yt-dlp, this led to RCE via attacker-controlled DASH/HLS manifests (CVE-2026-5057