Command Injection Affecting youtubedlsharp package, versions [1.0.0-beta4,1.1.2)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Social Trends
Exploit Maturity
Proof of Concept
EPSS
0.24% (15th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DOTNET-YOUTUBEDLSHARP-10343892
  • published12 Jun 2025
  • disclosed23 Apr 2025
  • creditkitsumed

Introduced: 23 Apr 2025

CVE-2025-43858  (opens in a new tab)
CWE-77  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade YoutubeDLSharp to version 1.1.2 or higher.

Overview

YoutubeDLSharp is a simple .NET wrapper library for youtube-dl and yt-dlp.

Affected versions of this package are vulnerable to Command Injection due to improper sanitization of command line arguments. An attacker can execute arbitrary commands by injecting malicious input into the command execution process.

CVSS Base Scores

version 4.0
version 3.1