yt-dlp@2025.6.30 vulnerabilities

A feature-rich command-line audio/video downloader

  • latest version

    2025.7.27.233142.dev0

  • latest non vulnerable version

  • first published

    4 years ago

  • latest version published

    1 days ago

  • licenses detected

  • Direct Vulnerabilities

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

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    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 via the function parse_cmd in the class ExecPP, which the --exec process on Windows uses with the default placeholder. An attacker can execute arbitrary commands by supplying a crafted filepath that is insufficiently sanitized.

    Note: Users should always be careful when using --exec, because using unvalidated input in shell commands is inherently dangerous.

    How to fix Command Injection?

    Upgrade yt-dlp to version 2025.7.21 or higher.

    [,2025.7.21)