PYSEC-2026-1976
Vulnerability from pysec - Published: 2026-07-07 11:45 - Updated: 2026-07-07 17:25
VLAI
Details
Impact
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')\")) + \""
Patches
https://github.com/tqdm/tqdm/commit/4e613f84ed2ae029559f539464df83fa91feb316 released in tqdm>=4.66.3
Workarounds
None
References
- https://github.com/tqdm/tqdm/releases/tag/v4.66.3
Severity
Impacted products
| Name | purl | tqdm | pkg:pypi/tqdm |
|---|
Aliases
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "tqdm",
"purl": "pkg:pypi/tqdm"
},
"ranges": [
{
"events": [
{
"introduced": "4.4.0"
},
{
"fixed": "4.66.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4.10.0",
"4.11.0",
"4.11.1",
"4.11.2",
"4.12.0",
"4.13.0",
"4.14.0",
"4.15.0",
"4.16.0",
"4.17.0",
"4.17.1",
"4.18.0",
"4.19.1",
"4.19.1.post1",
"4.19.2",
"4.19.4",
"4.19.5",
"4.19.6",
"4.19.7",
"4.19.8",
"4.19.9",
"4.20.0",
"4.21.0",
"4.22.0",
"4.23.0",
"4.23.1",
"4.23.2",
"4.23.3",
"4.23.4",
"4.24.0",
"4.25.0",
"4.26.0",
"4.27.0",
"4.28.0",
"4.28.1",
"4.29.0",
"4.29.1",
"4.30.0",
"4.31.0",
"4.31.1",
"4.32.0",
"4.32.1",
"4.32.2",
"4.33.0",
"4.34.0",
"4.35.0",
"4.36.0",
"4.36.1",
"4.37.0",
"4.38.0",
"4.39.0",
"4.4.0",
"4.4.1",
"4.4.3",
"4.40.0",
"4.40.1",
"4.40.2",
"4.41.0",
"4.41.1",
"4.42.0",
"4.42.1",
"4.43.0",
"4.44.0",
"4.44.1",
"4.45.0",
"4.46.0",
"4.46.1",
"4.47.0",
"4.48.0",
"4.48.1",
"4.48.2",
"4.49.0",
"4.5.0",
"4.5.2",
"4.50.0",
"4.50.1",
"4.50.2",
"4.51.0",
"4.52.0",
"4.53.0",
"4.54.0",
"4.54.1",
"4.55.0",
"4.55.1",
"4.55.2",
"4.56.0",
"4.56.1",
"4.56.2",
"4.57.0",
"4.58.0",
"4.59.0",
"4.6.1",
"4.6.2",
"4.60.0",
"4.61.0",
"4.61.1",
"4.61.2",
"4.62.0",
"4.62.1",
"4.62.2",
"4.62.3",
"4.63.0",
"4.63.1",
"4.63.2",
"4.64.0",
"4.64.1",
"4.65.0",
"4.65.1",
"4.65.2",
"4.66.0",
"4.66.1",
"4.66.2",
"4.7.0",
"4.7.1",
"4.7.2",
"4.7.4",
"4.7.6",
"4.8.1",
"4.8.2",
"4.8.3",
"4.8.4",
"4.9.0"
]
}
],
"aliases": [
"CVE-2024-34062",
"GHSA-g7vv-2v7x-gj9p"
],
"details": "### Impact\nAny optional non-boolean CLI arguments (e.g. `--delim`, `--buf-size`, `--manpath`) are passed through python\u0027s `eval`, allowing arbitrary code execution. Example:\n\n```sh\npython -m tqdm --manpath=\"\\\" + str(exec(\\\"import os\\nos.system(\u0027echo hi \u0026\u0026 killall python3\u0027)\\\")) + \\\"\"\n```\n\n### Patches\nhttps://github.com/tqdm/tqdm/commit/4e613f84ed2ae029559f539464df83fa91feb316 released in `tqdm\u003e=4.66.3`\n\n### Workarounds\nNone\n\n### References\n- https://github.com/tqdm/tqdm/releases/tag/v4.66.3",
"id": "PYSEC-2026-1976",
"modified": "2026-07-07T17:25:42.536688Z",
"published": "2026-07-07T11:45:41.060200Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/tqdm/tqdm/security/advisories/GHSA-g7vv-2v7x-gj9p"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-34062"
},
{
"type": "WEB",
"url": "https://github.com/tqdm/tqdm/commit/4e613f84ed2ae029559f539464df83fa91feb316"
},
{
"type": "PACKAGE",
"url": "https://github.com/tqdm/tqdm"
},
{
"type": "WEB",
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PA3GIGHPWAHCTT4UF57LTPZGWHAX3GW6"
},
{
"type": "WEB",
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QRECVQCCESHBS3UJOWNXQUIX725TKNY6"
},
{
"type": "WEB",
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VA337CYUS4SLRFV2P6MX6MZ2LKFURKJC"
},
{
"type": "PACKAGE",
"url": "https://pypi.org/project/tqdm"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-g7vv-2v7x-gj9p"
}
],
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N",
"type": "CVSS_V3"
}
],
"summary": "tqdm CLI arguments injection attack"
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…