---
title: "Python setuptools vulnerabilities and CVEs"
url: https://radicalnotion.ai/vendor/python/setuptools
type: product
description: "Python setuptools has 5 published CVEs, 0 in CISA KEV and 4 with public exploits."
updated: 2026-07-08
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# Python setuptools vulnerabilities

Vendor: [Python](https://radicalnotion.ai/vendor/python)

- **Published CVEs:** 5
- **In CISA KEV:** 0
- **With a public exploit:** 4
- **With a patch:** 5
- **Average CVSS:** 7.7
- **First CVE:** 2013-08-06
- **Latest CVE:** 2026-07-08

## Severity breakdown

| Severity | CVEs |
| --- | --- |
| Critical | 0 |
| High | 4 |
| Medium | 1 |
| Low | 0 |
| Unscored | 0 |

## Most common weakness types

| CWE | Name | CVEs |
| --- | --- | --- |
| [CWE-1333](https://radicalnotion.ai/cwe/cwe-1333) | Inefficient Regular Expression Complexity | 1 |
| [CWE-176](https://radicalnotion.ai/cwe/cwe-176) | Improper Handling of Unicode Encoding | 1 |
| [CWE-20](https://radicalnotion.ai/cwe/cwe-20) | Improper Input Validation | 1 |
| [CWE-22](https://radicalnotion.ai/cwe/cwe-22) | Improper Limitation of a Pathname to a Restricted Directory | 1 |
| [CWE-94](https://radicalnotion.ai/cwe/cwe-94) | Improper Control of Generation of Code | 1 |

## CVEs by year

| Year | CVEs published |
| --- | --- |
| 2022 | 1 |
| 2023 | 0 |
| 2024 | 1 |
| 2025 | 1 |
| 2026 | 1 |

## Affected versions (top 12 of 15)

| Version | Kind | CVEs |
| --- | --- | --- |
| \< 65.5.1 | range | 1 |
| \< 78.1.1 | range | 1 |
| \< 83.0.0 | range | 1 |
| \<= 0.7b4 | range | 1 |
| 0.6.40 | range | 1 |
| 0.6.41 | range | 1 |
| 0.6.42 | range | 1 |
| 0.6.43 | range | 1 |
| 0.6.44 | range | 1 |
| 0.6.45 | range | 1 |
| 0.6.46 | range | 1 |
| 0.6.47 | range | 1 |

## Fixed in

| Version | CVEs |
| --- | --- |
| 65.5.1 | 1 |
| 70.0 | 1 |
| 78.1.1 | 1 |
| 83.0.0 | 1 |

## CVEs

| CVE | Title | Severity | CVSS | CISA KEV | Public exploit | Patch |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-59890 | setuptools: MANIFEST.in exclusion bypass in sdist via Unicode normalization collision (NFC/NFD) on macOS APFS/HFS+ | medium | 6.1 | No | Yes | Yes |
| CVE-2025-47273 | setuptools has a path traversal vulnerability in PackageIndex.download that leads to Arbitrary File Write | high | 7.7 | No | Yes | Yes |
| CVE-2024-6345 | Remote Code Execution in pypa/setuptools | high | 7.5 | No | Yes | Yes |
| CVE-2022-40897 | pypa/setuptools vulnerable to Regular Expression Denial of Service (ReDoS) | high | 8.7 | No | Yes | Yes |
| CVE-2013-1633 | Setuptools vulnerable to Man-in-the-middle attacks | high | 8.3 | No | No | Yes |

## Frequently asked questions

### How many CVEs does Python setuptools have?

Python setuptools has 5 published CVE records since 2013.

### How many Python setuptools CVEs are in CISA KEV?

None of Python setuptools's CVEs are currently listed in CISA's Known Exploited Vulnerabilities catalog.

### Are there public exploits for Python setuptools vulnerabilities?

Yes — 4 of Python setuptools's CVEs have a known public exploit.

### Which versions of Python setuptools are affected?

19 distinct Python setuptools versions are named across its CVEs. Use the version filter above to see the CVEs affecting a specific version.

### What are the most common weakness types in Python setuptools CVEs?

Python setuptools's CVEs most often map to these CWE weakness types: CWE-1333 (Inefficient Regular Expression Complexity), CWE-176 (Improper Handling of Unicode Encoding), CWE-20 (Improper Input Validation), CWE-22 (Improper Limitation of a Pathname to a Restricted Directory).

### What is the average severity of Python setuptools CVEs?

The average CVSS base score across Python setuptools's scored CVEs is 7.7.

## Other products from this vendor

- [CPython](https://radicalnotion.ai/vendor/python/cpython) (208 CVEs)
- [Python](https://radicalnotion.ai/vendor/python/python) (148 CVEs)
- [Pillow](https://radicalnotion.ai/vendor/python/pillow) (113 CVEs)
- [urllib3](https://radicalnotion.ai/vendor/python/urllib3) (22 CVEs)
- [requests](https://radicalnotion.ai/vendor/python/requests) (7 CVEs)
- [black](https://radicalnotion.ai/vendor/python/black) (3 CVEs)
- [keyring](https://radicalnotion.ai/vendor/python/keyring) (3 CVEs)
- [tarfile module](https://radicalnotion.ai/vendor/python/tarfile-module) (3 CVEs)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/vendor/python/setuptools). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
