yt-dlp@2026.2.17.233631.dev0 vulnerabilities

A feature-rich command-line audio/video downloader

  • latest version

    2026.2.26.233640.dev0

  • latest non vulnerable version

  • first published

    5 years ago

  • latest version published

    2 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the yt-dlp package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Command Injection

    yt-dlp is an A youtube-dl fork with additional features and patches

    Affected versions of this package are vulnerable to Command Injection in the --netrc-cmd option and netrc_cmd API parameter, which invoke subprocess.Popen with shell=True. The GetCourseRuIE, TeachableIE, and TeachableCourseIE extractors allow substitution on input parameters and are therefore vulnerable to injection. An attacker can execute arbitrary commands on the user's system by convincing a user to follow a malicious URL.

    How to fix Command Injection?

    Upgrade yt-dlp to version 2026.2.21 or higher.

    [2023.6.21,2026.2.21)