{
  "id": "CVE-2026-50023",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-50023",
  "published_at": "2026-06-23T16:08:43.003Z",
  "title": "yt-dlp: Dangerous file type creation via insufficient filename sanitization (Bypass of CVE-2024-38519)",
  "vendor": "yt-dlp",
  "product": "yt-dlp",
  "cvss": {
    "score": 9.6,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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 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": "CWE-641",
  "cpes": [
    "cpe:2.3:a:yt-dlp_project:yt-dlp:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.3,
    "nvd": 9.6
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "yt-dlp",
        "product": "yt-dlp",
        "ranges": [
          "\u003c 2026.06.09"
        ],
        "fixed_in": [
          "2026.06.09"
        ]
      }
    ],
    "upgrade": [
      "Upgrade yt-dlp to 2026.06.09 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-c6mh-fpjc-4pr3"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/yt-dlp/yt-dlp/commit/e578e265f7c6ca94a74b30e0d8d6196a4d19fb6a"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/yt-dlp/yt-dlp-nightly-builds/releases/tag/2026.06.09.230517"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/yt-dlp/yt-dlp/releases/tag/2026.06.09"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
