CVE-2025-47273Python Setuptools
High 7.7 No auth needed
Follow: this CVE · Python · Python Setuptools We alert you by email or Slack (account required).
- Priority
- 61
- CVSS 4.0
- 7.7
- EPSS
- —
- Auth required
- No
- Published
- May 17, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- 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
What happens
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.
What to do
- Apply the vendor's security update for Setuptools.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | setuptools |
< 78.1.1 |
78.1.1 |
pip install "setuptools>=78.1.1" |
| PyPI | setuptools |
< 78.1.1 |
78.1.1 |
pip install "setuptools>=78.1.1" |
Per OSV / GitHub Advisories (GHSA-5rjg-fvgr-3xxf, PYSEC-2025-49). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| python | setuptools | < 78.1.1 |
| debian | debian_linux | 11.0 |
Official advisories
- bazel-rules-python-source-2.3.3-1.1 on GA media · SUSE · openSUSE-SU-2026:11831-1 · Sep 21, 2026 High
- oci-cli-3.76.2-1.1 on GA media · SUSE · openSUSE-SU-2026:10539-1 · Apr 13, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Product
- github.com Patch
- github.com Exploit Issue Tracking
- github.com Exploit Vendor Advisory
- lists.debian.org Mailing List