CVE-2026-50023: yt-dlp: Dangerous file type creation via insufficient filename sanitization (Bypass of CVE-2024-38519)
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.
References
- github.com/advisories/GHSA-c6mh-fpjc-4pr3
- github.com/yt-dlp/yt-dlp-nightly-builds/releases/tag/2026.06.09.230517
- github.com/yt-dlp/yt-dlp/commit/e578e265f7c6ca94a74b30e0d8d6196a4d19fb6a
- github.com/yt-dlp/yt-dlp/releases/tag/2026.06.09
- github.com/yt-dlp/yt-dlp/security/advisories/GHSA-c6mh-fpjc-4pr3
- nvd.nist.gov/vuln/detail/CVE-2024-38519
- nvd.nist.gov/vuln/detail/CVE-2026-50023
Code Behaviors & Features
Detect and mitigate CVE-2026-50023 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →