CVE-2025-47273
Reported by github_m · Published May 17, 2025
setuptools is fixed in 78.1.1 and 250a6d17978f9f6ac3ac887091f2d32886fbbb0b (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| setuptools | PyPI | 78.1.1, 250a6d17978f9f6ac3ac887091f2d32886fbbb0b |
| superset | Wolfi | 4.1.2-r3 |
| python3.11-setuptools-wheel | Amazon Linux | 65.5.1-2.amzn2023.0.7 |
| nvidia-nsight-compute-13.1 | Chainguard | 2025.4.1.2-r1 |
| superset | Chainguard | 4.1.2-r3 |
| datadog-agent-7.76 | Chainguard | 7.76.3-r41, 7.76.3-r22 |
| datadog-agent-fips-7.74 | Chainguard | 7.74.1-r18 |
| graalvm-25.2 | Chainguard | 25.2.4-r2 |
| wazuh-manager | Chainguard | 4.14.6-r1 |
| aws-cli-2 | Wolfi | 2.27.60-r1 |
| dask-gateway | Wolfi | 2025.4.0-r7 |
| py3-pipenv | Chainguard | 2026.6.2-r1 |
28 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| pypa | setuptools | < 78.1.1 |
| wolfi | superset | 0 |
| amazon:2023 | python3.11-setuptools-wheel | 0 |
| wolfi | kubeflow-katib | * |
| wolfi | pypy-3.11 | * |
| chainguard | sentry | * |
| chainguard | nvidia-nsight-compute-13.1 | 0 |
| chainguard | superset | 0 |
| chainguard | py3-cassandra-medusa | * |
| chainguard | datadog-agent-fips-7.72 | * |
| PyPI | setuptools | 0 |
| chainguard | datadog-agent-7.76 | 0, 0 |
| chainguard | tensorflow-cpu-jupyter | * |
| chainguard | kubeflow-katib | * |
| chainguard | py3-pip | * |
| chainguard | request-1276 | * |
| chainguard | py3.11-pytorch-cuda-11.8 | * |
| chainguard | pgadmin4 | * |
| chainguard | datadog-agent-fips-7.74 | 0 |
…and 78 more
Timeline
- May 17, 2025 CVE Published
- May 18, 2025 EPSS Score (30 in total, the first dated here)
- Jun 2, 2025 Coalition ESS Score (12 in total, the first dated here)
- Dec 13, 2025 Security Advisory (52 in total, the first dated here)
- Apr 18, 2026 PoC Published
- Oct 23, 2026 Distribution Patch (50 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-47273
vulnetix vdb fixes CVE-2025-47273
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-47273/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/pypa/setuptools/security/advisories/GHSA-5rjg-fvgr-3xxf x_refsource_CONFIRM
- https://github.com/pypa/setuptools/issues/4946 x_refsource_MISC
- https://github.com/pypa/setuptools/commit/250a6d17978f9f6ac3ac887091f2d32886fbbb0b x_refsource_MISC
- https://github.com/pypa/setuptools/blob/6ead555c5fb29bc57fe6105b1bffc163f56fd558/setuptools/package_index.py#L810C1-L825C88 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2025-47273 advisory
- https://github.com/advisories/GHSA-5rjg-fvgr-3xxf advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/setuptools/PYSEC-2025-49.yaml advisory
- https://github.com/pypa/setuptools url
- https://lists.debian.org/debian-lts-announce/2025/05/msg00035.html url