{"id":"CVE-2026-141340","summary":"dRep before 4.0.5 OS Command Injection via Genome File Names in ANImf","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.","modified":"2026-12-01T17:00:25.325184744Z","published":"2026-12-01T15:43:10.377Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141340.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-78"]},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mrolm/drep","events":[{"introduced":"0"},{"fixed":"dfac5556477ba48c492e789da84dd77847ab85d9"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"4.0.5"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"fixed":"dfac5556477ba48c492e789da84dd77847ab85d9"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v4.0.4","v4.0.3","v4.0.2","3.7.1","v3.4.2","v3.0.0","2.5.4","1.4.3","v0.1.0","v0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-141340.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","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"}]}