Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Setuptools versions before 78.1.1 are affected by a path traversal flaw in PackageIndex.download, which can let files be written to arbitrary locations. An attacker who can supply malicious URLs on a package index page that is processed by the vulnerable code could write files with the permissions of the running Python process, which could lead to remote code execution depending on context. Upgrade to setuptools 78.1.1 or later.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 7.7 | High | 4.0 | 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 | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.016, the 76th percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 17 May 2025, 01:57 UTC Published by the maintainers as a GitHub repository advisory
- 31 Oct 2026, 14:34 UTC First seen by agentprime
- 31 Oct 2026, 14:34 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-5rjg-fvgr-3xxf
- OSV: GHSA-5rjg-fvgr-3xxf
- github.com/pypa/setuptools/security/advisories/GHSA-5rjg-fvgr-3xxf
- nvd.nist.gov/vuln/detail/CVE-2025-47273
- github.com/pypa/setuptools/issues/4946
- github.com/pypa/setuptools/commit/250a6d17978f9f6ac3ac887091f2d32886fbbb0b
- github.com/pypa/advisory-database/tree/main/vulns/setuptools/PYSEC-2025-49.yaml
- github.com/pypa/setuptools
- github.com/pypa/setuptools/blob/6ead555c5fb29bc57fe6105b1bffc163f56fd558/setuptools/package_index.py#L810C1-L825C88
- lists.debian.org/debian-lts-announce/2025/05/msg00035.html