Lucene search
+L

Python Library yt-dlp < 2026.7.4 Command Injection

🗓️ 16 Jul 2026 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 6 Views

yt-dlp before 2026.7.4 enables command injection via link-writing options that craft .url or .desktop files with attacker input on Windows or Linux.

Related
Refs
Code
ReporterTitlePublishedViews
Family
ATTACKERKB
CVE-2026-55404
8 Jul 202619:36
attackerkb
Circl
CVE-2026-55404
13 Jul 202623:21
circl
CVE
CVE-2026-55404
8 Jul 202619:36
cve
Cvelist
CVE-2026-55404 yt-dlp: Downstream command injection via improper sanitization of yt-dlp --write-link output
8 Jul 202619:36
cvelist
Debian CVE
CVE-2026-55404
8 Jul 202619:36
debiancve
EUVD
EUVD-2026-42368
8 Jul 202619:36
euvd
NVD
CVE-2026-55404
8 Jul 202620:16
nvd
OPENSUSE Linux
python313-yt-dlp-2026.07.04-1.1 on GA media (moderate)
8 Jul 202600:00
opensuse
OSV
CVE-2026-55404 yt-dlp: Downstream command injection via improper sanitization of yt-dlp --write-link output
8 Jul 202619:36
osv
OSV
DEBIAN-CVE-2026-55404
8 Jul 202620:16
osv
Rows per page
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##

include('compat.inc');

if (description)
{
  script_id(327412);
  script_version("1.3");
  script_set_attribute(attribute:"plugin_modification_date", value:"2026/07/17");

  script_cve_id("CVE-2026-55404");
  script_xref(name:"IAVB", value:"2026-B-0194");

  script_name(english:"Python Library yt-dlp < 2026.7.4 Command Injection");

  script_set_attribute(attribute:"synopsis", value:
"A Python library installed on the remote host is affected by a command injection vulnerability.");
  script_set_attribute(attribute:"description", value:
"The detected version of the yt-dlp Python package is prior to 2026.7.4. It is, therefore, affected by a command
injection vulnerability. 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.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version
number.");
  # https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-6v4j-43gg-vj32
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?b24d747d");
  script_set_attribute(attribute:"solution", value:
"Upgrade to yt-dlp version 2026.7.4 or later.");
  script_set_attribute(attribute:"agent", value:"all");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2026-55404");

  script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"false");

  script_set_attribute(attribute:"vuln_publication_date", value:"2026/07/04");
  script_set_attribute(attribute:"patch_publication_date", value:"2026/07/04");
  script_set_attribute(attribute:"plugin_publication_date", value:"2026/07/16");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"asset_categories", value:"component");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:yt-dlp_project:yt-dlp");
  script_set_attribute(attribute:"thorough_tests", value:"true");
  script_set_attribute(attribute:"stig_severity", value:"I");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Misc.");

  script_copyright(english:"This script is Copyright (C) 2026 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("python_packages_installed_nix.nbin", "python_packages_win_installed.nbin");
  script_require_ports("Host/nix/Python/Packages/Enumerated", "Host/win/Python/Packages/Enumerated");

  exit(0);
}

include('python.inc');

var pkg = 'yt-dlp';

var libs = python::get_package_info(pkg_name:pkg, cpe:"cpe:/a:yt-dlp_project:yt-dlp");

if (empty_or_null(libs))
  audit(AUDIT_NOT_INST, pkg);

vcf::check_all_backporting(app_info:libs);

var constraints = [
  { 'fixed_version' : '2026.7.4' }
];

vcf::check_version_and_report(
  app_info:libs,
  constraints:constraints,
  severity:SECURITY_HOLE
);

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

17 Jul 2026 00:00Current
5.5Medium risk
Vulners AI Score5.5
CVSS 3.17.5 - 8.8
EPSS0.0064
SSVC
6