BREW-YT-DLP-CVE-2026-50574 (CVE-2026-50574)
Vulnerability from osv_homebrew – Published: 2026-08-13 17:55 – Updated: 2026-09-10 21:31 – Source websiteyt-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.
| URL | Type | |
|---|---|---|
{
"affected": [
{
"ecosystem_specific": {
"fix": "bump",
"range_state": "fixed",
"upstream_fixed_in": "2026.6.9"
},
"package": {
"ecosystem": "Homebrew",
"name": "yt-dlp",
"purl": "pkg:brew/yt-dlp"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2026.7.4"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"database_specific": {
"confidence": "high",
"source": "matched",
"strategy": "git",
"upstream_evidence": [
{
"ecosystem": "GIT",
"key": "https://github.com/yt-dlp/yt-dlp",
"name": "https://github.com/yt-dlp/yt-dlp",
"strategy": "git",
"subject_version": "2026.8.19"
},
{
"ecosystem": "PyPI",
"key": "pkg:pypi/yt-dlp@2026.8.19",
"name": "yt-dlp",
"strategy": "registry",
"subject_version": "2026.8.19"
},
{
"ecosystem": "Debian",
"key": "Debian/yt-dlp",
"name": "yt-dlp",
"strategy": "distro"
},
{
"ecosystem": "GIT",
"key": "upstream:https://github.com/yt-dlp/yt-dlp",
"name": "https://github.com/yt-dlp/yt-dlp",
"strategy": "distro",
"subject_version": "2026.8.19"
},
{
"ecosystem": "PyPI",
"key": "upstream:pkg:pypi/yt-dlp@2026.8.19",
"name": "yt-dlp",
"strategy": "distro",
"subject_version": "2026.8.19"
},
{
"ecosystem": "Ubuntu",
"key": "Ubuntu/yt-dlp",
"name": "yt-dlp",
"strategy": "distro"
}
]
},
"details": "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.",
"id": "BREW-yt-dlp-CVE-2026-50574",
"modified": "2026-09-10T21:31:39Z",
"published": "2026-08-13T17:55:05Z",
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50574.json"
},
{
"type": "ADVISORY",
"url": "https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-vx4q-3cr2-7cg2"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-50574"
}
],
"schema_version": "1.7.3",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H",
"type": "CVSS_V3"
}
],
"summary": "yt-dlp: Arbitrary code execution via manifest downloads with aria2c",
"upstream": [
"CVE-2026-50574",
"GHSA-vx4q-3cr2-7cg2",
"PYSEC-2026-3433"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.