{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "4.0.5"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "dfac5556477ba48c492e789da84dd77847ab85d9"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "dfac5556477ba48c492e789da84dd77847ab85d9"
            }
          ],
          "repo": "https://github.com/mrolm/drep",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-78"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141340.json"
  },
  "details": "dRep before 4.0.5 contains an OS command injection vulnerability that allows attackers to execute commands by supplying crafted genome file names processed with the ANImf algorithm. Attackers can embed $(...), backticks or semicolons in genome file names so the unquoted nucmer and delta-filter commands run via shell=True execute arbitrary commands as the user during comparison or dereplication.",
  "id": "CVE-2026-141340",
  "modified": "2026-12-01T16:45:34.380861052Z",
  "published": "2026-12-01T15:43:10.377Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141340.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/MrOlm/drep"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/MrOlm/drep/blob/v4.0.4/drep/d_cluster/external.py#L715-L738"
    },
    {
      "type": "FIX",
      "url": "https://github.com/MrOlm/drep/commit/dfac5556477ba48c492e789da84dd77847ab85d9"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/MrOlm/drep/issues/318"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-141340"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/drep-before-4.0.5-os-command-injection-via-genome-file-names-in-animf"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "dRep before 4.0.5 OS Command Injection via Genome File Names in ANImf"
}