CVE-2025-47273
setuptools has a path traversal vulnerability in PackageIndex.download that leads to Arbitrary File Write
A public proof of concept exists; no exploitation attested.
- Published2025-05-17
- WeaknessCWE-22
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2025-05-1716:15CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 11.0 | = 11.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 78.1 | < 78.1.1 | 78.1.1 | NVD · OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- pypa setuptoolsAffected
- = < 78.1.1no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2025-05-17
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- apache-supersetCleanStartall versions · fixed in 6.1.0-r6
- aws-cli-2Wolfiall versions · fixed in 2.27.60-r1and 1 other package
- aws-cli-2MinimOSall versions · fixed in 2.27.45-r0
- aws-cli-2Chainguardall versions · fixed in 2.27.60-r1and 1 other package
- bazel-rules-pythonopenSUSE:Tumbleweedall versions · fixed in 2.3.3-1.1
- checkovWolfiall versions · fixed in 3.2.432-r0
- checkovChainguardall versions · fixed in 3.2.432-r0
- CythonRocky Linux:8all versions · fixed in 0:0.29.21-5.module+el8.10.0+1582+bc278001
286 more package ranges on OSV.dev
Vendor advisories
setuptools: Path Traversal Vulnerability in setuptools PackageIndex
cert-manager/cert-manager-istio-csr-rhel9 as a component of cert-manager Operator for Red Hat OpenShift · cert-manager/cert-manager-operator-rhel9 as a component of cert-manager Operator for Red Hat OpenShift · cert-manager/jetstack-cert-manager-acmesolver-rhel9 as a component of cert-manager Operator for Red Hat OpenShift · +69 more
Red Hat Security Advisory: Red Hat Quay 3.14.6
Red Hat Security Advisory: Red Hat Enterprise Linux AI 1.5 (NVIDIA)
Red Hat Security Advisory: Red Hat Enterprise Linux AI 1.5 (NVIDIA)
Red Hat Security Advisory: Red Hat Enterprise Linux AI 1.5 (NVIDIA)
Red Hat Security Advisory: Red Hat Enterprise Linux AI 1.5 (AMD)
41 more advisories
Fix
- Vendor fix Red Hat Product Security RHSA-2026:4215 · 4 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11458
- Vendor fix Red Hat Product Security RHSA-2025:19430 · 1 productFor more information visit https://access.redhat.com/errata/RHSA-2025:19430
- Vendor fix Red Hat Product Security RHSA-2025:19429 · 1 productFor more information visit https://access.redhat.com/errata/RHSA-2025:19429
- Vendor fix Red Hat Product Security RHSA-2025:19428 · 2 productsFor more information visit https://access.redhat.com/errata/RHSA-2025:19428
- Vendor fix Red Hat Product Security RHSA-2025:19427 · 1 productFor more information visit https://access.redhat.com/errata/RHSA-2025:19427
- Vendor fix Red Hat Product Security RHSA-2025:19426 · 1 productFor more information visit https://access.redhat.com/errata/RHSA-2025:19426
Advisories and patches
- github.comPatch
- github.comVendor Advisory
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2025-05-19
- PoC-in-GitHub2 repositories, unverifiedknown since 2026-11-01AliElKhatteb/CVE-2025-47273-POCahmedreda38/CVE-2025-47273-PoC
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionpoc2025-05-19
- CNACVSS 4.07.7known since 2026-10-23
- NVDCVSS 3.18.8read 2026-10-23
- CNAweakness (CWE)CWE-22known since 2026-10-23
- FIRST EPSSEPSS score1.6 %2026-11-08
- PoC-in-GitHubproof of concept2known since 2026-11-01
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHIGH2025-05-19
Identifiers
- AZL-61943same flawAzure Linux · MIT
- AZL-62438same flawAzure Linux · MIT
- BIT-setuptools-2025-47273same flawBitnami · Apache-2.0
- CGA-22vm-x44j-hhx4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2358-fm3q-h2ggsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2527-v4j5-4f7jsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-27c8-m936-cmmqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2972-4mx3-g8fhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2c62-jfgm-vhwjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2m3c-hm5c-2g68same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2m66-22qq-g8wxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2mmj-mh6h-896vsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2mr5-q6hh-gjjgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2qvr-mmxq-jx97same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2vqr-5qrw-w927same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2x98-58cc-px2vsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-32xg-q6qw-5cp2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-338r-w5j5-jxcvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-33fm-r338-54cmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-39hj-9g5p-23x8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-39ww-x6q5-66cwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-39wx-wwgp-4qrpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3cw6-mppf-6f2rsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3f9g-qp2j-ccv8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3hh2-6jgx-m886same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3m2w-r8f9-7j5fsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3m77-3q8w-rxgfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3ppv-f269-jf9msame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3prh-fw6m-ppwgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3q88-j8cp-58r9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3vx9-rmg8-9x2wsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3xff-r7px-pj3msame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4377-jrw3-wpm2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-43rw-4qfq-x7jmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-43w4-3m84-j2c2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4567-cm44-jv5fsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-486r-86rv-h36msame flawChainguard · CC-BY-NC-ND-4.0
- CGA-48xj-p4x4-p4m8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-496r-f677-x9vqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-498w-xmmx-p9fpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4cm3-qcmw-w5fhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4g6g-rq54-77fqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4gpg-h2hp-8h3msame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4qmj-hprh-6qf3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4v2c-mq89-3rwjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4wfp-wc9j-f99rsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4wgv-53v8-mcr2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4wwr-fvwx-gvvmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4x32-mgfp-3x75same flawChainguard · CC-BY-NC-ND-4.0
- CGA-539x-9qqq-7f7rsame flawChainguard · CC-BY-NC-ND-4.0
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 4.0 vector
- 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/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
- Published
- 2025-05-17
- Last Modified
- 2026-06-17
- NVD status
- Analyzed
- GitHub Advisory
- GHSA-5rjg-fvgr-3xxf
Frequently asked questions
What is CVE-2025-47273?
Is CVE-2025-47273 actively exploited?
What is the CVSS score for CVE-2025-47273?
Running setuptools? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-5rjg-fvgr-3xxf
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OpenCVE · OpenCVE terms of service · terms restrict redistribution
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0