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

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

On Hacker News

Sources: PyPI, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.