CVE-2026-50023: yt-dlp: Dangerous file type creation via insufficient filename sanitization (Bypass of CVE-2024-38519)
(updated )
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/pypa/advisory-database/tree/main/vulns/yt-dlp/PYSEC-2026-3430.yaml
- github.com/yt-dlp/yt-dlp
- 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
- pypi.org/project/yt-dlp
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. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →