Advisories for Pypi/Tqdm package

2024

tqdm CLI arguments injection attack

Any optional non-boolean CLI arguments (e.g. –delim, –buf-size, –manpath) are passed through python's eval, allowing arbitrary code execution. Example: python -m tqdm –manpath="" + str(exec("import os\nos.system('echo hi && killall python3')")) + ""

2017

Code Injection

The tqdm._version module in tqdm allows local users to execute arbitrary code via a crafted repo with a malicious git log in the current working directory.