# CVE-2026-141340: dRep before 4.0.5 OS Command Injection via Genome File Names in ANImf

- Severity: High 7.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-12-01T15:43:10.377Z
- Modified: 2026-12-01T16:18:27.503Z
- Weaknesses: CWE-78
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- MrOlm dRep: before 4.0.5

## Every score

- VulnCheck: CVSS:4.0 7.3 High `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`
- VulnCheck: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/MrOlm/drep/issues/318> (issue-tracking)
- <https://github.com/MrOlm/drep/commit/dfac5556477ba48c492e789da84dd77847ab85d9> (patch)
- <https://github.com/MrOlm/drep/blob/v4.0.4/drep/d_cluster/external.py#L715-L738> (technical-description)
- <https://www.vulncheck.com/advisories/drep-before-4.0.5-os-command-injection-via-genome-file-names-in-animf> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-141340](https://www.cve.org/CVERecord?id=CVE-2026-141340), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-141340](https://nvd.nist.gov/vuln/detail/CVE-2026-141340), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-141340 · Whole record: https://cve.day/CVE-2026-141340.json · Rebuilt by cve.day 2026-12-01T16:32:41.271Z
