NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2024-6345: setuptools vulnerable to Command Injection via package URL

highCVSS 4.0 7.5 · 3.1 8.8GHSA-cx63-2mw6-8hw5

A vulnerability in the packageindex module of pypa/setuptools versions up to 69.1.1 allows for remote code execution via its download functions. These functions, which are used to download packages from URLs provided by users or retrieved from package index servers, are susceptible to code injection.

Published Jul 15, 2024 · Updated Nov 4, 2025

Affected packages

setuptools

Ecosystem
PyPI
Affected
< 70.0.0
Fixed in
70.0.0
Check
pip show setuptools

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

A vulnerability in the package_index module of pypa/setuptools versions up to 69.1.1 allows for remote code execution via its download functions. These functions, which are used to download packages from URLs provided by users or retrieved from package index servers, are susceptible to code injection. If these functions are exposed to user-controlled inputs, such as package URLs, they can execute arbitrary commands on the system. The issue is fixed in version 70.0.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More PyPI vulnerabilities

All PyPI entries