CVE-2025-43858 - CVE House
Back to Database
Status published Critical CVE-2025-43858

YoutubeDLSharp allows command injection on windows system due to non sanitized arguments

Vulnerability Description

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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-43858

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

YoutubeDLSharp
Vulnerable Versions:
>= 1.0.0-beta4, < 1.1.2

Timeline

Official Publish: April 24th, 2025
Last Modified: April 24th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

V3: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L

Weaknesses (CWE)