All vulnerabilities

PyPI

CVE-2026-141340

dRep before 4.0.5 OS Command Injection via Genome File Names in ANImf

Severity
High 7.3
Published
1 Dec 2026
Last changed
1 Dec 2026
Added to UpHeron
1 Dec 2026
Fixed in
4.0.5
Weakness
OS command injection (CWE-78)
Attack
Needs local access · Only under certain conditions · No login needed · Needs someone to view a page or file
Attacker can
Read data · Change data · Take it down
CVSS vector
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
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
drepPyPI · osv:PyPI:drep
  • Every version before 4.0.5

About drep

Weekly downloads (PyPI)
252PyPI Stats, 1 Dec 2026

This is the only vulnerability in drep in our list.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-141340