ADVISORIES

Vulnerability

CVE-2024-6345

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.

185 advisories report this vulnerability, across 15 ecosystems.

Advisories in PyPI

  • GHSA-cx63-2mw6-8hw5

    setuptools vulnerable to Command Injection via package URL

    High CVE-2024-6345 PyPI Updated 10 September 2026
  • PYSEC-2026-1918

    setuptools vulnerable to Command Injection via package URL

    CVE-2024-6345 PyPI Updated 7 July 2026

References