Skip to main content
← All vulnerabilities
CVE-2025-47273GHSA-5RJG-FVGR-3XXFBIT-SETUPTOOLS-2025-47273PYSEC-2025-49

setuptools has a path traversal vulnerability in PackageIndex.download that leads to Arbitrary File Write

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 78.1.1
2 proofs of concept on GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • pypa setuptools

    fixed in 78.1.1

  • setuptoolsPyPI

    fixed in 78.1.1

  • setuptoolsPyPI

    fixed in 78.1.1

References 6

GitHub · pypa/setuptools

GitHub · AliElKhatteb/CVE-2025-47273-POC

GitHub · ahmedreda38/CVE-2025-47273-PoC