Security Resilience

CVE-2026-50023

Yt-Dlp Project Yt-Dlp ≤ 2026.06.09

Public PoC
Published
23 June 2026
Modified
26 June 2026
Patch / advisory
CVSS Score v3.1 8.3
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
EPSS Score 0.0066 47th percentile
Risk Priority 60 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-50023 is a high-severity Improper Restriction of Names for Files and Other Resources (CWE-641) vulnerability in Yt-Dlp Project Yt-Dlp. Its CVSS base score is 8.3 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique PubPrn (T1216.001); ranked at the 47th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SI-10 (Information Input Validation) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

yt-dlp is a command-line audio/video downloader. Prior to 2026.06.09, a vulnerability exists in yt-dlp that allows a remote attacker to write arbitrary OS-shortcut files (such as .desktop, .url, .webloc) to the user's filesystem, bypassing the remediation for CVE-2024-38519. The allowlist…

more

explicitly included the unsafe extensions .desktop, .url, and .webloc so that the functionality of the --write-link option (and its variants) could be preserved. These allowlist inclusions can be exploited by an attacker to write malicious OS-shortcut files in the context of a media or subtitles download. This vulnerability is fixed in 2026.06.09.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1216.001 PubPrn Stealth
Adversaries may use PubPrn to proxy execution of malicious remote files.
T1221 Template Injection Stealth
Adversaries may create or modify references in user document templates to conceal malicious code or force authentication attempts.
T1187 Forced Authentication Credential Access
Adversaries may gather credential material by invoking or forcing a user to automatically provide authentication information through a mechanism in which they can intercept.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-46121Same product: Yt-Dlp Project Yt-Dlp
CVE-2024-22423Same product: Yt-Dlp Project Yt-Dlp
CVE-2026-26331Same product: Yt-Dlp Project Yt-Dlp
CVE-2025-54072Same product: Yt-Dlp Project Yt-Dlp
CVE-2026-55404Same product: Yt-Dlp Project Yt-Dlp
CVE-2026-50019Same product: Yt-Dlp Project Yt-Dlp
CVE-2026-50574Same product: Yt-Dlp Project Yt-Dlp
CVE-2024-47260Shared CWE-641
CVE-2026-85864Shared CWE-641
CVE-2026-25177Shared CWE-641

Affected Assets

yt-dlp project
yt-dlp
≤ 2026.06.09

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

SI-10 requires validation of inputs used to construct resource names, directly stopping malformed or dangerous names from being accepted.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly require input validation and sanitization to restrict resource names derived from untrusted data.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect improper filename handling but does not itself prevent the weakness.

prevents

Training developers about secure file/resource name handling and input validation reduces instances of this code-level defect, but the practice is fallible and the weakness requires careful implementation discipline that training alone does not guarantee, matching the A.6.3 -> CWE-598 anchor's `partial` rung for developer-introduced weaknesses.

prevents

Secure coding standards explicitly require validation and sanitization of filenames derived from external input.

prevents

A.8.30 carries its effect through the secure-design, coding and testing practices its contract requires of the supplier (8.25–8.29), which would reduce instances of CWE-641 in delivered code the way those practices do, but the clause depends on the supplier's implementation and human practice is fallible, leaving a nameable remainder.

References