Live threats

All CVEs / pypa

CVE-2024-6345pypa/setuptools

High 8.8 No auth needed

Priority
68
CVSS 3.0
8.8
EPSS
2.5%
probability of exploitation in 30 days · percentile 86
Auth required
No
Published
Jul 15, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for pypa/setuptools.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI setuptools < 70.0.0 70.0.0 pip install "setuptools>=70.0.0"
PyPI setuptools < 70.0.0 70.0.0 pip install "setuptools>=70.0.0"

Per OSV / GitHub Advisories (GHSA-cx63-2mw6-8hw5, PYSEC-2026-1918). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.