Vulnerabilities · 2025 · Python
CVE-2025-47273
Python Setuptools vulnerability
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.
Affected products
Setuptools, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Python Setuptools runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/pypa/setuptools/security/advisories/GHSA-5rjg-fvgr-3xxf · Exploit
- github.com/pypa/setuptools/commit/250a6d17978f9f6ac3ac887091f2d32886fbbb0b · Patch
- github.com/pypa/setuptools/issues/4946 · Exploit
- github.com/pypa/setuptools/blob/6ead555c5fb29bc57fe6105b1bffc163f56fd558/setuptools/packag
- lists.debian.org/debian-lts-announce/2025/05/msg00035.html
- nvd.nist.gov/vuln/detail/CVE-2025-47273
- github.com/pypa/advisory-database/tree/main/vulns/setuptools/PYSEC-2025-49.yaml
- github.com/advisories/GHSA-5rjg-fvgr-3xxf
- nvd.nist.gov/vuln/detail/CVE-2025-47273
- cve.org/CVERecord?id=CVE-2025-47273
More vulnerabilities in Python products
CVE-2026-21441CVE-2025-66471CVE-2025-66418CVE-2025-50182CVE-2025-50181CVE-2025-48379CVE-2025-13837CVE-2025-13836All 231
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.