# CVE-2024-34062: tqdm CLI arguments injection attack

- Severity: Medium 4.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 39% of CVEs (2026-12-01)
- Published: 2024-05-03T09:55:26.119Z
- Modified: 2026-09-10T03:50:13.776Z
- Also known as: GHSA-g7vv-2v7x-gj9p, PYSEC-2026-1976
- Weaknesses: CWE-74
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- tqdm tqdm: >= 4.4.0, < 4.66.3
- tqdm (PyPI): from 4.4.0 before 4.66.3

## Every score

- GitHub_M: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 3.9 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 3.9 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N`

## References

- <https://github.com/tqdm/tqdm/security/advisories/GHSA-g7vv-2v7x-gj9p> (web)
- <https://github.com/tqdm/tqdm/commit/4e613f84ed2ae029559f539464df83fa91feb316> (web)
- <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/>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-34062> (advisory)
- <https://github.com/tqdm/tqdm> (package)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PA3GIGHPWAHCTT4UF57LTPZGWHAX3GW6> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QRECVQCCESHBS3UJOWNXQUIX725TKNY6> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VA337CYUS4SLRFV2P6MX6MZ2LKFURKJC> (web)
- <https://pypi.org/project/tqdm> (package)
- <https://github.com/advisories/GHSA-g7vv-2v7x-gj9p> (advisory)

## Sources

- CVE List: [CVE-2024-34062](https://www.cve.org/CVERecord?id=CVE-2024-34062), CVE Terms of Use, modified 2025-02-13
- GitHub Advisory Database: [GHSA-g7vv-2v7x-gj9p](https://github.com/advisories/GHSA-g7vv-2v7x-gj9p), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-34062](https://nvd.nist.gov/vuln/detail/CVE-2024-34062), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1976](https://osv.dev/vulnerability/PYSEC-2026-1976), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2024-34062 · Whole record: https://cve.day/CVE-2024-34062.json · Rebuilt by cve.day 2026-11-25T22:58:39.926Z
