GHSA-g3gw-q23r-pgqm · 深刻度: high · エコシステム: pip — yt-dlp: Arbitrary Command Injection when using the `--netrc-cmd` option
yt-dlp is a command-line audio/video downloader. Starting in version 2023.06.21 and prior to version 2026.02.21, when yt-dlp's `--netrc-cmd` command-line option (or `netrc_cmd` Python API parameter) is used, an attacker could achieve arbitrary command injection on the user's system with a maliciously crafted URL. yt-dlp maintainers assume the impact of this vulnerability to be high for anyone who uses `--netrc-cmd` in their command/configuration or `netrc_cmd` in their Python scripts. Even though the maliciously crafted URL itself will look very suspicious to many users, it would be trivial for a maliciously crafted webpage with an inconspicuous URL to covertly exploit this vulnerability via HTTP redirect. Users without `--netrc-cmd` in their arguments or `netrc_cmd` in their scripts are unaffected. No evidence has been found of this exploit being used in the wild. yt-dlp version 2026.02.21 fixes this issue by validating all netrc "machine" values and raising an error upon unexpected input. As a workaround, users who are unable to upgrade should avoid using the `--netrc-cmd` command-line option (or `netrc_cmd` Python API parameter), or they should at least not pass a placeholder (`{}`) in their `--netrc-cmd` argument.
総合評価: CVE-2026-26331 は悪用リスクが高い(63/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 0.17%、38 パーセンタイル) 根拠: 公開エクスプロイトが 1 件参照されています(Exploit-DB)。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
| EDB-ID | ソース | 種別 | 公開 | リンク |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-03-21 | 0.70% | 0.17% | -0.53% |
| 2 | 2026-03-02 | 0.60% | 0.70% | +0.10% |
| 3 | 2026-02-26 | — | 0.60% | — |
EPSS の全履歴 (全 4 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 8.8 | 3.1 | HIGH |
|
2.8 | 5.9 | [email protected] |
GHSA-g3gw-q23r-pgqm · 深刻度: high · エコシステム: pip — yt-dlp: Arbitrary Command Injection when using the `--netrc-cmd` option
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2026-26331: 1 source package rows (yt-dlp); 42 state rows across 2 repos (3.23-community, edge-community); fixed 0, open 42. | https://security.alpinelinux.org/vuln/CVE-2026-26331 |
debian
|
unimportant | CVE-2026-26331 unimportant priority: Debian including 1 source packages (yt-dlp), 4 status rows across 4 suites (bookworm, forky, sid, trixie): resolved 3, open 1. | https://security-tracker.debian.org/tracker/CVE-2026-26331 |
redhat
|
high | — | https://access.redhat.com/security/cve/CVE-2026-26331 |
ubuntu
|
medium | CVE-2026-26331 medium priority: Ubuntu including 1 source packages (yt-dlp), 4 status rows across 4 suites (jammy, noble, questing, upstream): needs-triage 4. | https://ubuntu.com/security/CVE-2026-26331 |
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| yt-dlp_project | yt-dlp | >= 2023.06.21, < 2026.02.21 | cpe:2.3:a:yt-dlp_project:yt-dlp:*:*:*:*:*:*:*:* |
| URL | タグ |
|---|---|
| https://github.com/yt-dlp/yt-dlp/commit/1fbbe29b99dc61375bf6d786f824d9fcf6ea9c1a | Patch |
| https://github.com/yt-dlp/yt-dlp/releases/tag/2026.02.21 | Product Release Notes |
| https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-g3gw-q23r-pgqm | Exploit Mitigation Vendor Advisory |