PYSEC-2025-49

At a glance

Published
Updated
CVE
CVE-2025-47273
Aliases
BIT-setuptools-2025-47273, GHSA-5rjg-fvgr-3xxf
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Description

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.

Affected packages

PackageVersions
PyPI · setuptoolsintroduced 0, fixed 250a6d17978f9f6ac3ac887091f2d32886fbbb0b ; introduced 0, fixed 78.1.1

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database