7.5 HIGH
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): High (H)
- Privileges Required (PR): None (N)
- User Interaction (UI): Required (R)
- Scope (S): Unchanged (U)
- Confidentiality (C): High (H)
- Integrity (I): High (H)
- Availability (A): High (H)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): High (H)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): Required (R)
- Modified Confidentiality (MC): High (H)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): High (H)
- Modified Availability (MA): High (H)
Activity log
- Created suggestion
yt-dlp: Downstream command injection via improper sanitization of yt-dlp --write-link output
yt-dlp and youtube-dl are command-line audio/video downloaders. Prior to 2026.7.4, the --write-link, --write-url-link, and --write-desktop-link options can write .url or .desktop shortcut files using attacker-controlled webpage_url or filename metadata without sufficient validation or escaping, allowing malicious file:// URI injection on Windows or newline-based desktop entry key injection on Linux that can execute commands if the generated shortcut is opened. This issue is fixed in version 2026.7.4.
References
-
https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-6v4j-43gg-vj32 x_refsource_CONFIRM
-
https://github.com/yt-dlp/yt-dlp/releases/tag/2026.07.04 x_refsource_MISC
Affected products
- ==< 2026.7.4
Matching in nixpkgs
pkgs.yt-dlp
Feature-rich command-line audio/video downloader
-
nixos-unstable 2026.06.09
- nixpkgs-unstable 2026.06.09
- nixos-unstable-small 2026.06.09
-
nixos-26.05 2026.06.09
- nixos-26.05-small 2026.06.09
- nixpkgs-26.05-darwin 2026.06.09
pkgs.yt-dlp-light
Feature-rich command-line audio/video downloader
-
nixos-unstable 2026.06.09
- nixpkgs-unstable 2026.06.09
- nixos-unstable-small 2026.06.09
-
nixos-26.05 2026.06.09
- nixos-26.05-small 2026.06.09
- nixpkgs-26.05-darwin 2026.06.09
pkgs.python313Packages.yt-dlp
Feature-rich command-line audio/video downloader
-
nixos-unstable 2026.06.09
- nixpkgs-unstable 2026.06.09
- nixos-unstable-small 2026.06.09
-
nixos-26.05 2026.06.09
- nixos-26.05-small 2026.06.09
- nixpkgs-26.05-darwin 2026.06.09
pkgs.python314Packages.yt-dlp
Feature-rich command-line audio/video downloader
-
nixos-unstable 2026.06.09
- nixpkgs-unstable 2026.06.09
- nixos-unstable-small 2026.06.09
-
nixos-26.05 2026.06.09
- nixos-26.05-small 2026.06.09
- nixpkgs-26.05-darwin 2026.06.09
pkgs.python313Packages.yt-dlp-ejs
External JavaScript for yt-dlp supporting many runtimes
pkgs.python314Packages.yt-dlp-ejs
External JavaScript for yt-dlp supporting many runtimes
pkgs.python313Packages.yt-dlp-light
Feature-rich command-line audio/video downloader
-
nixos-unstable 2026.06.09
- nixpkgs-unstable 2026.06.09
- nixos-unstable-small 2026.06.09
-
nixos-26.05 2026.06.09
- nixos-26.05-small 2026.06.09
- nixpkgs-26.05-darwin 2026.06.09
pkgs.python314Packages.yt-dlp-light
Feature-rich command-line audio/video downloader
-
nixos-unstable 2026.06.09
- nixpkgs-unstable 2026.06.09
- nixos-unstable-small 2026.06.09
-
nixos-26.05 2026.06.09
- nixos-26.05-small 2026.06.09
- nixpkgs-26.05-darwin 2026.06.09
pkgs.python313Packages.yt-dlp-dearrow
Post-processor plugin to use DeArrow video titles in YT-DLP
-
nixos-unstable 2023.01.01-unstable-2024-01-13
- nixpkgs-unstable 2023.01.01-unstable-2024-01-13
- nixos-unstable-small 2023.01.01-unstable-2024-01-13
-
nixos-26.05 2023.01.01-unstable-2024-01-13
- nixos-26.05-small 2023.01.01-unstable-2024-01-13
- nixpkgs-26.05-darwin 2023.01.01-unstable-2024-01-13
pkgs.python314Packages.yt-dlp-dearrow
Post-processor plugin to use DeArrow video titles in YT-DLP
-
nixos-unstable 2023.01.01-unstable-2024-01-13
- nixpkgs-unstable 2023.01.01-unstable-2024-01-13
- nixos-unstable-small 2023.01.01-unstable-2024-01-13
-
nixos-26.05 2023.01.01-unstable-2024-01-13
- nixos-26.05-small 2023.01.01-unstable-2024-01-13
- nixpkgs-26.05-darwin 2023.01.01-unstable-2024-01-13
Package maintainers
-
@FlameFlag FlameFlag <github@flameflag.dev>
-
@SuperSandro2000 Sandro Jäckel <sandro.jaeckel@gmail.com>
-
@Sigmanificient Yohann Boniface <sigmanificient@gmail.com>