PT-2026-21401 · Yt-Dlp · Yt-Dlp

·

CVE-2026-26331

·

Published

2026-02-21

·

Updated

2026-07-13

CVSS v3.1

8.8

High

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions yt-dlp versions prior to 2026.02.21
Description The --netrc-cmd option in yt-dlp contains an arbitrary command injection issue. The argument passed to the command in this option is now limited to a safe subset of characters to address this. This issue could potentially allow an attacker to execute arbitrary commands on the system.
Recommendations Update to yt-dlp version 2026.02.21 or later.

Exploit

Fix

OS Command Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-26331
GHSA-G3GW-Q23R-PGQM
MGASA-2026-0054
PYSEC-2026-3432

Affected Products

Yt-Dlp