Security mailing lists by PureSourceCode

CVE-2026-55404

HIGH 8.8CVSS 3.1

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.

Published
8 Jul 2026
Last modified
4 Aug 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-74
Also known as
GHSA-6v4j-43gg-vj32PYSEC-2026-3622
Sources
NVDJSONOSV GHSA-6v4j-43gg-vj32JSONOSV PYSEC-2026-3622JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV PyPA CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD yt-dlp_project yt-dlp
cpe:2.3:a:yt-dlp_project:yt-dlp:*:*:*:*:*:*:*:*
< 2026.07.04 2026.07.04
OSV PyPI yt-dlp < 2026.7.4 2026.7.4

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 8 Jul 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 4 Aug 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 Jul 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.