{"cve":"CVE-2025-47273","nvd":{"published":"2025-05-17T16:15:19.110","modified":"2026-06-17T09:27:38.827","status":"Analyzed","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.","cvss_v4":{"vector":"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","score":7.7},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-22"],"references":["https://github.com/pypa/setuptools/blob/6ead555c5fb29bc57fe6105b1bffc163f56fd558/setuptools/package_index.py#L810C1-L825C88","https://github.com/pypa/setuptools/commit/250a6d17978f9f6ac3ac887091f2d32886fbbb0b","https://github.com/pypa/setuptools/issues/4946","https://github.com/pypa/setuptools/security/advisories/GHSA-5rjg-fvgr-3xxf","https://lists.debian.org/debian-lts-announce/2025/05/msg00035.html"],"products":["debian:debian_linux","python:setuptools"],"source":"nvd","synced_at":"2026-10-19T22:01:57.636215869+00:00"},"epss":{"cve":"CVE-2025-47273","score":0.01592,"percentile":0.75695,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-5rjg-fvgr-3xxf","url":"https://osv.dev/vulnerability/GHSA-5rjg-fvgr-3xxf","summary":"setuptools has a path traversal vulnerability in PackageIndex.download that leads to Arbitrary File Write","modified":"2026-09-10T03:50:24.253527717Z","packages":[{"ecosystem":"PyPI","name":"setuptools","purl":"pkg:pypi/setuptools","ranges":["<78.1.1"],"fixed":["78.1.1"]}]},{"id":"PYSEC-2025-49","url":"https://osv.dev/vulnerability/PYSEC-2025-49","summary":"","modified":"2026-05-11T00:26:34.671259971Z","packages":[{"ecosystem":"PyPI","name":"setuptools","purl":"pkg:pypi/setuptools","ranges":["<78.1.1"],"fixed":["78.1.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}