{
  "id": "CVE-2026-55404",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-55404",
  "published_at": "2026-07-08T19:36:48.792Z",
  "title": "yt-dlp: Downstream command injection via improper sanitization of yt-dlp --write-link output",
  "vendor": "yt-dlp",
  "product": "yt-dlp",
  "cvss": {
    "score": 8.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/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 and youtube-dl are command-line audio/video downloaders. Prior to 2026.7.4, the --write-link, --write-url-link, and --write-desktop-link options can write .url or .desktop shortcut files using attacker-controlled webpage_url or filename metadata without sufficient validation or escaping, allowing malicious file:// URI injection on Windows or newline-based desktop entry key injection on Linux that can execute commands if the generated shortcut is opened. This issue is fixed in version 2026.7.4.",
  "cwe": "CWE-74",
  "cpes": [
    "cpe:2.3:a:yt-dlp_project:yt-dlp:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5,
    "nvd": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "yt-dlp",
        "product": "yt-dlp",
        "ranges": [
          "\u003c 2026.7.4"
        ],
        "fixed_in": [
          "2026.7.4"
        ]
      }
    ],
    "upgrade": [
      "Upgrade yt-dlp to 2026.7.4 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-6v4j-43gg-vj32"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/yt-dlp/yt-dlp/commit/b6590aaa1e3808155d69c9a79a797ae484163789"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/yt-dlp/yt-dlp/releases/tag/2026.07.04"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
