CVE-2025-43858
CRITICALDescription
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.
How to fix
No published remediation has been found for this vulnerability's affected products yet.
Mitigation guidance may be in the linked vendor advisories in the References section below.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L
Exploit Intelligence
Low risk: more likely to be exploited than 13% of all known CVEs.
References
Related Vulnerabilities
Other CWE-77 (Command Injection) vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2024-3400 | Critical | 10.0 | 100% | KEV + Ransom | - |
| CVE-2024-21887 | Critical | 9.1 | 100% | KEV + Ransom | - |
| CVE-2023-1671 | Critical | 9.8 | 100% | KEV | Fix |
| CVE-2023-1389 | High | 8.8 | 100% | KEV | Fix |
| CVE-2021-1498 | Critical | 9.8 | 100% | KEV | Fix |
| CVE-2012-1823 | Critical | 9.8 | 100% | KEV | Fix |
Embed a live status badge for CVE-2025-43858
Markdown
[](https://tridentstack.com/cve/CVE-2025-43858)HTML
<a href="https://tridentstack.com/cve/CVE-2025-43858"><img src="https://tridentstack.com/cve/badge/CVE-2025-43858.svg" alt="CVE-2025-43858"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-04-29.