Home

Description

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.

PUBLISHED Reserved 2026-06-16 | Published 2026-07-08 | Updated 2026-07-09 | Assigner GitHub_M




HIGH: 7.5CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Problem types

CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Product status

< 2026.7.4
affected

References

github.com/...yt-dlp/security/advisories/GHSA-6v4j-43gg-vj32

github.com/...ommit/b6590aaa1e3808155d69c9a79a797ae484163789

github.com/yt-dlp/yt-dlp/releases/tag/2026.07.04

cve.org (CVE-2026-55404)

nvd.nist.gov (CVE-2026-55404)

Download JSON