Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. setuptools
  4. ›
  5. CVE-2025-47273

CVE-2025-47273: setuptools has a path traversal vulnerability in PackageIndex.download that leads to Arbitrary File Write

May 19, 2025 (updated October 31, 2025)

A path traversal vulnerability in PackageIndex was fixed in setuptools version 78.1.1

References

  • github.com/advisories/GHSA-5rjg-fvgr-3xxf
  • github.com/pypa/advisory-database/tree/main/vulns/setuptools/PYSEC-2025-49.yaml
  • github.com/pypa/setuptools
  • github.com/pypa/setuptools/blob/6ead555c5fb29bc57fe6105b1bffc163f56fd558/setuptools/package_index.py
  • github.com/pypa/setuptools/commit/250a6d17978f9f6ac3ac887091f2d32886fbbb0b
  • github.com/pypa/setuptools/issues/4946
  • github.com/pypa/setuptools/security/advisories/GHSA-5rjg-fvgr-3xxf
  • lists.debian.org/debian-lts-announce/2025/05/msg00035.html
  • nvd.nist.gov/vuln/detail/CVE-2025-47273

Code Behaviors & Features

Detect and mitigate CVE-2025-47273 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 78.1.1

Fixed versions

  • 78.1.1

Solution

Upgrade to version 78.1.1 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

pypi/setuptools/CVE-2025-47273.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:11 +0000.