CVE-2025-43858
CRITICALNuget Youtubedlsharp < 1.1.2 - Command Injection
Title source: ruleDescription
YoutubeDLSharp is a wrapper for the command-line video downloaders youtube-dl and yt-dlp. In versions starting from 1.0.0-beta4 and prior to 1.1.2, an unsafe conversion of arguments allows the injection of a malicious commands when starting `yt-dlp` from a commands prompt running on Windows OS with the `UseWindowsEncodingWorkaround` value defined to true (default behavior). If a user is using built-in methods from the YoutubeDL.cs file, the value is true by default and a user cannot disable it from these methods. This issue has been patched in version 1.1.2.
References (3)
Core 3
Core References
Vendor Advisory x_refsource_confirm
https://github.com/Bluegrams/YoutubeDLSharp/security/advisories/GHSA-2jh5-g5ch-43q5
Patch x_refsource_misc
https://github.com/Bluegrams/YoutubeDLSharp/commit/b6051372bd5af30f95f73de47d9bc71c3a07de0f
Scores
CVSS v3
9.2
EPSS
0.0017
EPSS Percentile
38.0%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
total
Details
CWE
CWE-77
CWE-78
Status
published
Products (2)
Bluegrams/YoutubeDLSharp
>= 1.0.0-beta4, < 1.1.2
nuget/YoutubeDLSharp
1.0.0-beta4 - 1.1.2NuGet
Published
Apr 24, 2025
Tracked Since
Feb 18, 2026