Live threats

All CVEs / Python

CVE-2025-47273Python Setuptools

High 7.7 No auth needed

Priority
61
CVSS 4.0
7.7
EPSS
—
Auth required
No
Published
May 17, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

setuptools is a package that allows users to download, build, install, upgrade, and uninstall Python packages. A path traversal vulnerability in `PackageIndex` is present in setuptools prior to version 78.1.1. An attacker would be allowed to write files to arbitrary locations on the filesystem with the permissions of the process running the Python code, which could escalate to remote code execution depending on the context. Version 78.1.1 fixes the issue.

Original NVD text.

What to do

  1. Apply the vendor's security update for 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 < 78.1.1 78.1.1 pip install "setuptools>=78.1.1"
PyPI setuptools < 78.1.1 78.1.1 pip install "setuptools>=78.1.1"

Per OSV / GitHub Advisories (GHSA-5rjg-fvgr-3xxf, PYSEC-2025-49). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
pythonsetuptools< 78.1.1
debiandebian_linux11.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.