Remote code executionin pypa setuptools.
Proof of concept public (GitHub).
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.
- Upgrade setuptools to 78.1.1 or later.
- Upgrade setuptools (PyPI) to 78.1.1 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 5 May 2025CVE ID reserved by GitHub_M.
- 17 May 2025Published in the CVE List.
- 28 May 2025CVE record last updated.
- 15 Mar 2026First public proof of concept on GitHub.
Attack code anyone can find
Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation poc.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other setuptools vulnerabilities
Same weakness: Path traversal
- github.com x_refsource_CONFIRM
- github.com x_refsource_MISC
- github.com x_refsource_MISC
- github.com x_refsource_MISC
- lists.debian.org
Patchminder. CVE-2025-47273: Remote code execution in pypa setuptools. https://patchminder.com/cve/cve-2025-47273/ (accessed 5 December 2026).