PyPI (Python)Worst: High6 advisories

setuptools: known vulnerabilities

setuptools has 6 reviewed security advisories in the GitHub Advisory Database — 4 high, 1 moderate, 1 low. The most recent was published 2026-10-23. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the setuptools versions running across your servers, containers and images, and ranks what to patch first.

How to fix setuptools

Upgrade setuptools to a release at or above the fixed version shown for each advisory below. For PyPI (Python):

pip install --upgrade setuptools (pin setuptools>=84.1.0)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (6)

setuptools: Windows path escape via namespace_packages.txt during legacy wheel installation Description Low CWE-22 — Affected: from 38.2.2 up to 84.1.0. Fixed in 84.1.0. Published 2026-10-23. GHSA-xmj3-9gf7-h52w
setuptools: MANIFEST.in exclusion bypass in sdist via Unicode normalization collision (NFC/NFD) on macOS APFS/HFS+ Moderate 6.1 CWE-176 CWE-697 — Affected: before 83.0.0. Fixed in 83.0.0. Published 2026-07-08. GHSA-h35f-9h28-mq5c · CVE-2026-59890
setuptools has a path traversal vulnerability in PackageIndex.download that leads to Arbitrary File Write High CWE-22 — Affected: before 78.1.1. Fixed in 78.1.1. Published 2025-05-17. GHSA-5rjg-fvgr-3xxf · CVE-2025-47273
setuptools vulnerable to Command Injection via package URL High 8.8 CWE-94 — Affected: before 70.0.0. Fixed in 70.0.0. Published 2024-07-15. GHSA-cx63-2mw6-8hw5 · CVE-2024-6345
pypa/setuptools vulnerable to Regular Expression Denial of Service (ReDoS) High 7.5 CWE-1333 — Affected: before 65.5.1. Fixed in 65.5.1. Published 2022-12-23. GHSA-r9hx-vwmv-q579 · CVE-2022-40897
Setuptools vulnerable to Man-in-the-middle attacks High 8.3 CWE-319 — Affected: before 0.7. Fixed in 0.7. Published 2013-08-06. GHSA-27x4-j476-jp5f · CVE-2013-1633

Find setuptools across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.