CVE-2025-47273: setuptools has a path traversal vulnerability in PackageIndex.download that leads to Arbitrary File Write
Vulnerability summary
CVE-2025-47273 is a high (CVSS 8.8) vulnerability in debian debian_linux. EPSS estimates a 1.59% chance of exploitation in the next 30 days, higher than 75.7% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 10Timeline
- 17-05-2025PublishedVulnerability first disclosed.
- 28-05-2025Last modifiedVulnerability information updated.
Description
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 metrics
10 scores · 8 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated8.7HighCVSS: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:PDiffers
- OSV · WolfiEcosystem advisory · calculated8.7HighCVSS: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:PDiffers
- OSV · ChainguardEcosystem advisory · calculated8.7HighCVSS: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:PDiffers
- NVDNIST7.7HighCVSS: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
- OSV · PypiEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · Red hatEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:LDiffers
- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.59%
Chance of exploitation in the next 30 days
Percentile
76%
Versus all other CVEs
30-day change
Increase +0.05 pp
From 1.54% on 05-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundSetuptools
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard158 products
- ansible-operator< 1.42.2-r10
- ansible-operator-fips< 1.42.2-r8
- aws-cli-2< 2.27.60-r1
- aws-cli-2-iamguarded-compat< 2.27.60-r1
- awxAll versions (No fix recorded)
Wolfi42 products
- aws-cli-2< 2.27.60-r1
- aws-cli-2-iamguarded-compat< 2.27.60-r1
- checkov< 3.2.432-r0
- dask-gateway< 2025.4.0-r7
- datadog-agent-7.72All versions (No fix recorded)
2 vendors · 200 products · Showing 200 of 493
References
88 links- github.com/pypa/setuptools/security/advisories/GHSA-5rjg-fvgr-3xxfX Refsource CONFIRMWEBEVIDENCEARTICLEREPORTAdvisoryExploitVendor Advisory
- github.com/pypa/setuptools/commit/250a6d17978f9f6ac3ac887091f2d32886fbbb0bX Refsource MISCWEBFIXARTICLEREPORTPatch
- github.com/pypa/setuptools/blob/6ead555c5fb29bc57fe6105b1bffc163f56fd558/setuptools/package_index.pyX Refsource MISCWEBARTICLEREPORTProduct
Show all 88 references
- github.com/pypa/setuptoolsPACKAGE