VDB

CVE-2023-46121

CVE-2023-46121 PUBLISHED CVSS 5 MEDIUM

Generic Extractor MITM Vulnerability in yt-dlp

Reported by github_m · Published November 14, 2023

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

Risk scores

CVSS 3.1
5
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L

Affected products

VendorProductVersions
yt-dlpyt-dlp>= 2022.10.04, < 2023.11.14
yt-dlpyt-dlp2022.10.04
alpineyt-dlp0
PyPIyt-dlp2022.10.04

Timeline

  • Nov 14, 2023 CVE Published
  • Nov 15, 2023 EPSS Score (30 in total, the first dated here)
  • Jan 29, 2026 Security Advisory (2 in total, the first dated here)
  • Jan 29, 2026 CVE Updated
  • Aug 1, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-46121
vulnetix vdb fixes CVE-2023-46121

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-46121/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›