Pypa setuptools
setuptools has a path traversal vulnerability in PackageIndex.download that leads to Arbitrary File Write
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 78.1.1
Fixed in 78.1.1
Mitigation
Upgrade setuptools to 78.1.1 or later.
References
Timeline
Days relative to CVE publicationFirst public PoC 302 days after publication; not in CISA KEV. First PoC: ahmedreda38/CVE-2025-47273-PoC (created 15 Mar 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs · 1 informational · 2 not a PoC
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| ahmedreda38/CVE-2025-47273-PoC | 15 Mar 2026 +302 d | 1 | PoC |
Informational 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| AliElKhatteb/CVE-2025-47273-POC | 15 Mar 2026 +302 d | 1 | Informational · write-up |
Not a PoC 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| InzegoSec/CVE-2024-25081_2025-47273 | 19 Mar 2026 +305 d | 0 | Not a PoC · unrelated
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
| Andy-you/CVE-Reproducer-System | 2 May 2026 +350 d | 1 | Not a PoC · unrelated |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.