CVE-2026-50019Yt-dlp Project Yt-dlp
High 7.4 No auth needed
Follow: this CVE · Yt-dlp Project · Yt-dlp Project Yt-dlp We alert you by email or Slack (account required).
- Priority
- 59
- CVSS 3.1
- 7.4
- EPSS
- —
- Auth required
- No
- Published
- Jun 23, 2026
- Updated
- Jun 26, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-200
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
What happens
yt-dlp is a command-line audio/video downloader. From 2023.09.24 until 2026.06.09, if curl is used as an external downloader for yt-dlp, cookies may be leaked to an unintended host upon HTTP redirect or when the host for download fragments differs from their parent manifest's. At the file download stage, the cookies are passed by yt-dlp to the file downloader via --cookie. However, unless these are loaded from a file, this operation does not activate the cookie engine. As a result, curl will send cookies with requests to domains or paths for which the cookies are not scoped. This vulnerability is fixed in 2026.06.09.
What to do
- Apply the vendor's security update for Yt-dlp.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | yt-dlp |
≥ 2023.9.24 < 2026.6.9 |
2026.6.9 |
pip install "yt-dlp>=2026.6.9" |
| PyPI | yt-dlp |
≥ 2023.9.24 < 2026.6.9 |
2026.6.9 |
pip install "yt-dlp>=2026.6.9" |
Per OSV / GitHub Advisories (GHSA-f7j3-774f-rfhj, PYSEC-2026-3431). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| yt-dlp_project | yt-dlp | ≥ 2023.09.24 < 2026.06.09 |
Official advisories
- Security update for yt-dlp · SUSE · openSUSE-SU-2026:21163-1 · Jun 29, 2026 Critical
- python313-yt-dlp-2026.06.09-1.1 on GA media · SUSE · openSUSE-SU-2026:11019-1 · Jun 12, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Mitigation Patch Vendor Advisory