patchminder
Proof of concept · GitHub CVE-2025-47273

Remote code executionin pypa setuptools.

Published 17 May 2025 · Updated 28 May 2025 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
High 7.7
CVSSA severity score from 0 to 10. 9 and higher is critical. 4.0 · no login needed
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 1.6% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 78.1.1 or later
In plain words

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 now
  • Upgrade setuptools to 78.1.1 or later.
  • Upgrade setuptools (PyPI) to 78.1.1 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
setuptools
before 78.1.1
78.1.1
CVE record
setuptools (PyPI)
before 78.1.1
78.1.1
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 5 May 2025
    CVE ID reserved by GitHub_M.
  2. 17 May 2025
    Published in the CVE List.
  3. 28 May 2025
    CVE record last updated.
  4. 15 Mar 2026
    First public proof of concept on GitHub.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation poc.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
2 repositories
GitHubno warning signs foundAliElKhatteb/CVE-2025-47273-POC1 stars · created 15 Mar 2026CVE-2025-47273 · setuptools path traversal PoC
GitHubno warning signs foundahmedreda38/CVE-2025-47273-PoC1 stars · created 15 Mar 2026CVE-2025-47273 is a high-severity path traversal vulnerability in the setuptools library ,specifically version 78.1.0 .

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other setuptools vulnerabilities

Same weakness: Path traversal

All CWE-22 vulnerabilities

References
Cite this page

Patchminder. CVE-2025-47273: Remote code execution in pypa setuptools. https://patchminder.com/cve/cve-2025-47273/ (accessed 5 December 2026).