VDB
PYSEC-2025-49
PYSEC-2025-49
PUBLISHED
CVSS 8.800000190734863 HIGH
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.
Risk Scores
CVSS v3.1
8.800000190734863
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| PyPI | setuptools | 0, 0, 0.6b1 |
Timeline
- May 17, 2025 CVE Published
- May 11, 2026 CVE Updated
References
- https://github.com/pypa/setuptools/security/advisories/GHSA-5rjg-fvgr-3xxf evidence
- https://github.com/pypa/setuptools/blob/6ead555c5fb29bc57fe6105b1bffc163f56fd558/setuptools/package_index.py#L810C1-L825C88 url
- https://lists.debian.org/debian-lts-announce/2025/05/msg00035.html advisory
- https://github.com/pypa/setuptools/issues/4946 discussion
- https://github.com/pypa/setuptools/commit/250a6d17978f9f6ac3ac887091f2d32886fbbb0b fix