CVE-2026-50019Medium· 6.1▾ Sunlityt-dlp: File Downloader cookie leak with curl
▾ Sunlit zone — Low / medium · no exploitation signal
impact 33.6 · likelihood 0.1 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Exploit-prediction probability, daily snapshots since Jul 4.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via GHSA
0.3%
0.3% → 0.3%
If curl is used 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.
This is the equivalent to GHSA-v8mc-9377-rwjj for the curl downloader. The vulnerable behavior is present in yt-dlp released since 2023.09.24.
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.
An example of a potential attack scenario exploiting this vulnerability:
curl.curl forwards the user's sensitive cookie information.yt-dlp version 2026.06.09 fixes this issue by doing the following:
--cookie - if curl is version 7.59 or higher.--cookie /dev/fd/0 if the system supports this device file.--cookie <file>.It is recommended to upgrade yt-dlp to version 2026.06.09 as soon as possible.
For users who are not able to upgrade:
--downloader curl.yt-dlp >= 2023.9.24, < 2026.6.9Upgrade to a patched release:
yt-dlp 2026.6.9Connected by shared product, vendor, weakness, or advisory.
CVE-2026-50023High· 8.3yt-dlp: Dangerous file type creation via insufficient filename sanitization (Bypass of CVE-2024-38519)
CVE-2026-50574High· 8.3yt-dlp: Arbitrary code execution via manifest downloads with aria2c
GHSA-69qj-pvh9-c5wgHigh· 7.5yt-dlp: Arbitrary command injection possible if --exec option used with yt-dlp
CVE-2026-55404High· 7.5yt-dlp: Downstream command injection via improper sanitization of yt-dlp --write-link output
CVE-2026-26331High· 8.8yt-dlp: Arbitrary Command Injection when using the `--netrc-cmd` option
CVE-2023-35934Medium· 6.1yt-dlp File Downloader cookie leak