# CVE-2023-46121: Generic Extractor MITM Vulnerability in yt-dlp

- Severity: Medium 5.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L`
- 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.38%, higher than 33% of CVEs (2026-12-01)
- Published: 2023-11-14T23:31:55.145Z
- Modified: 2026-09-10T03:49:58.753Z
- Also known as: GHSA-3ch3-jhc6-5r8x, PYSEC-2026-2063
- Weaknesses: CWE-444, CWE-613
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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`.

(As written by CVE List.)

## Affected

- yt-dlp yt-dlp: >= 2022.10.04, < 2023.11.14
- yt-dlp (PyPI): from 2022.10.04 before 2023.11.14
- yt-dlp_project yt-dlp: from 2022.10.04 before 2023.11.14

## Every score

- GitHub_M: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L`

## References

- <https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-3ch3-jhc6-5r8x> (vendor-advisory, web)
- <https://github.com/yt-dlp/yt-dlp/commit/f04b5bedad7b281bee9814686bba1762bae092eb> (patch, web)
- <https://github.com/yt-dlp/yt-dlp/releases/tag/2023.11.14> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-46121> (advisory)
- <https://github.com/yt-dlp/yt-dlp> (package)
- <https://pypi.org/project/yt-dlp> (package)
- <https://github.com/advisories/GHSA-3ch3-jhc6-5r8x> (advisory)

## Sources

- CVE List: [CVE-2023-46121](https://www.cve.org/CVERecord?id=CVE-2023-46121), CVE Terms of Use, modified 2024-08-29
- GitHub Advisory Database: [GHSA-3ch3-jhc6-5r8x](https://github.com/advisories/GHSA-3ch3-jhc6-5r8x), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-46121](https://nvd.nist.gov/vuln/detail/CVE-2023-46121), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-2063](https://osv.dev/vulnerability/PYSEC-2026-2063), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2023-46121 · Whole record: https://cve.day/CVE-2023-46121.json · Rebuilt by cve.day 2026-11-25T22:58:30.497Z
