# CVE-2026-50019: yt-dlp: File Downloader cookie leak with curl

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2026-06-16T20:16:56.000Z
- Modified: 2026-07-20T14:00:25.548Z
- Also known as: GHSA-f7j3-774f-rfhj, PYSEC-2026-3431
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- yt-dlp yt-dlp: >= 2023.09.24, < 2026.06.09
- yt-dlp (PyPI): from 2023.9.24 before 2026.6.9
- yt-dlp_project yt-dlp: from 2023.09.24 before 2026.06.09

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N`

## References

- <https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-f7j3-774f-rfhj> (mitigation, patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-50019> (advisory)
- <https://github.com/yt-dlp/yt-dlp/commit/2726572520238356bcf64aba2040228648b44c82> (web)
- <https://github.com/advisories/GHSA-f7j3-774f-rfhj> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/yt-dlp/PYSEC-2026-3431.yaml> (web)
- <https://github.com/yt-dlp/yt-dlp> (package)
- <https://github.com/yt-dlp/yt-dlp-nightly-builds/releases/tag/2026.06.09.230517> (web)
- <https://github.com/yt-dlp/yt-dlp/releases/tag/2026.06.09> (web)
- <https://pypi.org/project/yt-dlp> (package, web)

## Sources

- CVE List: [CVE-2026-50019](https://www.cve.org/CVERecord?id=CVE-2026-50019), CVE Terms of Use, modified 2026-06-23
- GitHub Advisory Database: [GHSA-f7j3-774f-rfhj](https://github.com/advisories/GHSA-f7j3-774f-rfhj), CC-BY-4.0, modified 2026-07-20
- NVD: [CVE-2026-50019](https://nvd.nist.gov/vuln/detail/CVE-2026-50019), Public domain, modified 2026-06-26
- PyPA Advisory Database: [PYSEC-2026-3431](https://osv.dev/vulnerability/PYSEC-2026-3431), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-50019 · Whole record: https://cve.day/CVE-2026-50019.json · Rebuilt by cve.day 2026-11-25T22:59:25.482Z
