Description
tqdm is an open source progress bar for Python and CLI. Any optional non-boolean CLI arguments (e.g. `--delim`, `--buf-size`, `--manpath`) are passed through python's `eval`, allowing arbitrary code execution. This issue is only locally exploitable and had been addressed in release version 4.66.3. All users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| tqdm | tqdm | >= 4.4.0, < 4.66.3 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | tqdm | 4.66.4-1 | — |
| Debian 13 | tqdm | 4.66.4-1 | — |
| Debian 12 | tqdm | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | tqdm | 4.66.2-2ubuntu0.1~esm1 | USN-7216-1 |
| Ubuntu Pro 22.04 LTS | tqdm | 4.57.0-2ubuntu0.1~esm2 | USN-7216-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | python-tqdm | 4.66.4-150400.9.12.1 | SUSE-SU-2024:1872-1 |
| SLES 3 | python-tqdm | 4.66.4-150400.9.12.1 | SUSE-SU-2024:1872-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP4 | python-tqdm | 4.66.4-150400.9.12.1 | SUSE-SU-2024:1872-1 |
| SLE HPC 15 SP4 | python-tqdm | 4.66.4-150400.9.12.1 | SUSE-SU-2024:1872-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.6 | python-tqdm | 4.66.4-150400.9.12.1 | SUSE-SU-2024:1872-1 |
| openSUSE Leap 15.5 | python-tqdm | 4.66.4-150400.9.12.1 | SUSE-SU-2024:1872-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | py3-tqdm | 4.66.4-r0 | — |
| Alpine v3.23 | py3-tqdm | 4.66.4-r0 | — |
| Alpine v3.22 | py3-tqdm | 4.66.4-r0 | — |
| Alpine v3.21 | py3-tqdm | 4.66.4-r0 | — |
| Alpine v3.20 | py3-tqdm | 4.66.4-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | python3-tqdm | 4.61.1-1.amzn2023.0.3 | ALAS2023-2024-690 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | python-tqdm | 4.66.2-2 | — |
| Azure Linux 2 (CBL-Mariner) | python-tqdm | 4.63.1-3 | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | checkov | 3.0.34-r1 | — |
| Wolfi rolling | kubeflow-katib +17 | 0.16.0-r9 | — |
| Wolfi rolling | py3-tqdm | 4.66.4-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | tqdm | >= 4.4.0, < 4.66.3 | 4.66.3 | GHSA-g7vv-2v7x-gj9p |
Advisories 6
- USN-7216-1 tqdm vulnerability Ubuntu Security Notices (USN) · Apr 27, 2026
- SUSE-SU-2024:1872-1 Security update for python-tqdm SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2025-0225 Dell PowerProtect Data Domain: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 1, 2025
- WID-SEC-2024-3317 IBM QRadar SIEM: Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 17, 2025
- ALAS2023-2024-690 Moderate: python-tqdm security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Aug 6, 2024
- WID-SEC-2024-1488 IBM InfoSphere Information Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 30, 2024
References
- https://github.com/tqdm/tqdm/security/advisories/GHSA-g7vv-2v7x-gj9p
- https://github.com/tqdm/tqdm/commit/4e613f84ed2ae029559f539464df83fa91feb316
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VA337CYUS4SLRFV2P6MX6MZ2LKFURKJC/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QRECVQCCESHBS3UJOWNXQUIX725TKNY6/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PA3GIGHPWAHCTT4UF57LTPZGWHAX3GW6/