CVE-2023-46121Yt-dlp Project Yt-dlp
Low 3.7 No auth needed
Follow: this CVE · Yt-dlp Project · Yt-dlp Project Yt-dlp We alert you by email or Slack (account required).
- Priority
- 37
- CVSS 3.1
- 3.7
- EPSS
- 0.4% probability of exploitation in 30 days · percentile 22
- Auth required
- No
- Published
- Nov 15, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-444
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
What happens
yt-dlp is a youtube-dl fork with additional features and fixes. The Generic Extractor in yt-dlp is vulnerable to an attacker setting an arbitrary proxy for a request to an arbitrary url, allowing the attacker to MITM the request made from yt-dlp's HTTP session. This could lead to cookie exfiltration in some cases. Version 2023.11.14 removed the ability to smuggle `http_headers` to the Generic extractor, as well as other extractors that use the same pattern. Users are advised to upgrade. Users unable to upgrade should disable the Ggneric extractor (or only pass trusted sites with trusted content) and ake caution when using `--no-check-certificate`.
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 |
≥ 2022.10.04 < 2023.11.14 |
2023.11.14 |
pip install "yt-dlp>=2023.11.14" |
| PyPI | yt-dlp |
≥ 2022.10.04 < 2023.11.14 |
2023.11.14 |
pip install "yt-dlp>=2023.11.14" |
Per OSV / GitHub Advisories (GHSA-3ch3-jhc6-5r8x, PYSEC-2026-2063). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| yt-dlp_project | yt-dlp | ≥ 2022.10.04 < 2023.11.14 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Release Notes
- github.com Vendor Advisory