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.
https://github.com/MrOlm/drep/issues/318
https://github.com/MrOlm/drep/commit/dfac5556477ba48c492e789da84dd77847ab85d9
https://github.com/MrOlm/drep/blob/v4.0.4/drep/d_cluster/external.py#L715-L738