Install
setuptools
Most extensible Python build backend with support for C/C++ extension modules
84.2.1Latest, 20 Oct 2026
1.1BDownloads, last month
0Advisories on the latest
11Advisories, all versions
MITLicence
2.9KStars
4.4/10OpenSSF Scorecard
Source · Ask AI Mode · · Markdown
Known advisories
| Severity | Advisory | Fix | Published |
|---|---|---|---|
| Low | setuptools: Windows path escape via namespace_packages.txt during legacy wheel installation Description GHSA-xmj3-9gf7-h52w | Fixed in 84.1.0 | 23 Oct 2026 |
| Moderate | setuptools: MANIFEST.in exclusion bypass in sdist via Unicode normalization collision (NFC/NFD) on macOS APFS/HFS+ CVE-2026-59890 | Fixed in 83.0.0 | 21 Jul 2026 |
| PYSEC-2026-3447 CVE-2026-59890 | Fixed in 83.0.0 | 8 Jul 2026 | |
| setuptools vulnerable to Command Injection via package URL CVE-2024-6345 | Fixed in 70.0.0 | 7 Jul 2026 | |
| High | setuptools has a path traversal vulnerability in PackageIndex.download that leads to Arbitrary File Write CVE-2025-47273 | Fixed in 78.1.1 | 19 May 2025 |
| PYSEC-2025-49 CVE-2025-47273 | Fixed in 78.1.1 | 17 May 2025 | |
| High | setuptools vulnerable to Command Injection via package URL CVE-2024-6345 | Fixed in 70.0.0 | 15 Jul 2024 |
| High | pypa/setuptools vulnerable to Regular Expression Denial of Service (ReDoS) CVE-2022-40897 | Fixed in 65.5.1 | 23 Dec 2022 |
| PYSEC-2022-43012 CVE-2022-40897 | Fixed in 65.5.1 | 23 Dec 2022 | |
| High | Setuptools vulnerable to Man-in-the-middle attacks CVE-2013-1633 | Fixed in 0.7 | 17 May 2022 |
| PYSEC-2013-22 CVE-2013-1633 | Fixed in 0.7 | 6 Aug 2013 |
In the news
- cx_Oracle vs setuptools: A Dependency Fight Nobody Wanted dev.to, 10 Feb 2026
- Buildozer not able to find distutils, despite having setuptools installed stackoverflow.com, 29 Jan 2025
- install of python-for-android failing: "No module named 'setuptools" when using "python3 setup.py build" stackoverflow.com, 27 Jan 2025
- Setuptools-based pip install with no-build-isolation-package stackoverflow.com, 20 Jan 2025
- mypy —explicit-package-based vs setuptools stackoverflow.com, 7 Jan 2025
On Hacker News
- Python setuptools v50 breaks pip installation on Debian/Ubuntu 97 points, 135 comments, 31 Aug 2020
- Setuptools-Distribute merge announcement 92 points, 9 comments, 14 Mar 2013
- Setuptools version 78.0.1 breaks install of many packages 22 points, 12 comments, 24 Mar 2025
Sources: PyPI, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.