CVE-2025-47273: high-severity vulnerability in pypa setuptools
setuptools has a path traversal vulnerability in PackageIndex.download that leads to Arbitrary File Write
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 7.7epss 1.6%
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.
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
Affected products
pypa · setuptoolsRelated CVEs — pypa setuptools
In the same product, most dangerous first.
References
https://github.com/pypa/setuptools/blob/6ead555c5fb29bc57fe6105b1bffc163f56fd558/setuptools/package_index.py#L810C1-L825C88https://github.com/pypa/setuptools/commit/250a6d17978f9f6ac3ac887091f2d32886fbbb0bhttps://github.com/pypa/setuptools/issues/4946https://github.com/pypa/setuptools/security/advisories/GHSA-5rjg-fvgr-3xxfhttps://lists.debian.org/debian-lts-announce/2025/05/msg00035.html