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

Published Dec 1, 2026
·
Updated

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.

Affected Software

1 affected component
pypi/drep<4.0.5

Event History

Dec 1, 2026
CVE Published
via OSV·03:43 PM
Data Sourced
via OSV·03:43 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:18 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Users running dRep versions before 4.0.5 are exposed when they process genome files with the ANImf algorithm. The injected commands execute with the privileges of the user running the comparison or dereplication job.

2

What does an attacker need to exploit it?

An attacker needs to cause a crafted genome filename to be processed by ANImf. Filenames containing shell syntax such as $(...), backticks, or semicolons can inject commands into the unquoted nucmer and delta-filter command invocations.

3

Is user interaction required?

Yes. The provided severity vector indicates user interaction is required, and exploitation occurs when a user runs comparison or dereplication on the attacker-controlled genome filename.

4

How can I determine whether my environment is affected?

Check whether dRep is older than 4.0.5 and whether ANImf is used to process genome files, especially files obtained from untrusted sources. Review genome filenames for shell metacharacters such as semicolons, backticks, or $() expressions.

5

What can be done if updating is not immediately possible?

Do not process untrusted genome files with ANImf, and reject or rename filenames containing shell metacharacters before running dRep. Run dRep with minimal privileges to limit the impact if command execution occurs.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203