Advisory

PYSEC-2025-49

Also known as: BIT-setuptools-2025-47273, CVE-2025-47273, GHSA-5rjg-fvgr-3xxf

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 8.8, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2025-05-17 16:15 UTC
Modified
2026-05-11 00:26 UTC

Affected packages and fixes

setuptools

PyPI · All systems

Affected

  • introduced 0, fixed 78.1.1 (ecosystem)

Fixed versions

78.1.1

Fix

  • Fixed version 78.1.1
    pip install --upgrade setuptools==78.1.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences