Advisory record · GHSA-5rjg-fvgr-3xxf

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

CVSS 7.7 HighEPSS 0.016 · 76th percentile

Published by the GitHub Advisory Database at 19 May 2025, 16:52 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
setuptoolsPyPI<78.1.178.1.1
Identifiers
GHSA-5rjg-fvgr-3xxf · BIT-setuptools-2025-47273 · CVE-2025-47273 · PYSEC-2025-49
Weakness (CWE)
CWE-22
Published
19 May 2025
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Setuptools versions before 78.1.1 are affected by a path traversal flaw in PackageIndex.download, which can let files be written to arbitrary locations. An attacker who can supply malicious URLs on a package index page that is processed by the vulnerable code could write files with the permissions of the running Python process, which could lead to remote code execution depending on context. Upgrade to setuptools 78.1.1 or later.

Written 5 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.7 High 4.0 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 CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.016, the 76th percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 17 May 2025, 01:57 UTC Published by the maintainers as a GitHub repository advisory
  2. 31 Oct 2026, 14:34 UTC First seen by agentprime
  3. 31 Oct 2026, 14:34 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.