Skip to content
Noroxi
NVD / CVE Program· CNA GitHub_M

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

Noroxi assessment

Priority: Monitor (action score 30/100)

  • Public proof-of-concept code exists (GitHub); there is no record of exploitation in the wild.
  • Probability of exploitation in the next 30 days: 1.5% (FIRST EPSS); higher than 75.6% of all records.
  • Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
  • According to CISA the attack is automatable: targets can be found by mass scanning.
  • Fixed version: azl3 python-setuptools 69.0.3-5 on Azure Linux 3.0 69.0.3-5.

Low priority for now. Upgrade to azl3 python-setuptools 69.0.3-5 on Azure Linux 3.0 69.0.3-5 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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.

HighCVSS 7.7 · v4.0—Proof of concept Fix available
Published
May 17, 2025
Updated
Jun 17, 2026
EPSS
1.5% · 75th percentile

Report tools

JSON

Action score

30

Monitor

Low priority for now.

CVSS
30 / 40 · 7.7 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 1.5%

CISA SSVC decision

Exploitation
proof of concept
Automatable
yes
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
—
CNA · GitHub_M
7.7
NVD has not scored this yet; the score shown is the CNA’s.

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

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • Proof of concept exists, no weaponized module
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2025-47273

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
pythonsetuptools
debiandebian linux

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • debian debian linux11.0
  • python setuptoolsbefore 78.1.1

Versions reported by the vendor

Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.

  • pypa setuptools

    • < 78.1.1affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:10python3-setuptoolsbefore 69.0.3-12.el10_069.0.3-12.el10_0
AlmaLinux:10python3-setuptools-wheelbefore 69.0.3-12.el10_069.0.3-12.el10_0
AlmaLinux:8platform-python-setuptoolsbefore 39.2.0-9.el8_1039.2.0-9.el8_10
AlmaLinux:8python3-setuptoolsbefore 39.2.0-9.el8_1039.2.0-9.el8_10
AlmaLinux:8python3-setuptools-wheelbefore 39.2.0-9.el8_1039.2.0-9.el8_10
AlmaLinux:8python3.11-setuptoolsbefore 65.5.1-4.el8_1065.5.1-4.el8_10
AlmaLinux:8python3.11-setuptools-wheelbefore 65.5.1-4.el8_1065.5.1-4.el8_10
AlmaLinux:8python3.12-setuptools-wheelbefore 68.2.2-5.el8_1068.2.2-5.el8_10
AlmaLinux:8python39before 3.9.20-2.module_el8.10.0+4040+9207bbc03.9.20-2.module_el8.10.0+4040+9207bbc0
AlmaLinux:8python39-attrsbefore 20.3.0-2.module_el8.6.0+2780+a40f65e120.3.0-2.module_el8.6.0+2780+a40f65e1
AlmaLinux:8python39-cffibefore 1.14.3-2.module_el8.6.0+3248+c431e88c1.14.3-2.module_el8.6.0+3248+c431e88c
AlmaLinux:8python39-cffibefore 1.14.3-2.module_el8.6.0+2780+a40f65e11.14.3-2.module_el8.6.0+2780+a40f65e1
AlmaLinux:8python39-chardetbefore 3.0.4-19.module_el8.6.0+2780+a40f65e13.0.4-19.module_el8.6.0+2780+a40f65e1
AlmaLinux:8python39-cryptographybefore 3.3.1-3.module_el8.10.0+3765+2f9a457d3.3.1-3.module_el8.10.0+3765+2f9a457d
AlmaLinux:8python39-Cythonbefore 0.29.21-5.module_el8.6.0+3248+c431e88c0.29.21-5.module_el8.6.0+3248+c431e88c
AlmaLinux:8python39-Cythonbefore 0.29.21-5.module_el8.6.0+2780+a40f65e10.29.21-5.module_el8.6.0+2780+a40f65e1
AlmaLinux:8python39-debugbefore 3.9.20-2.module_el8.10.0+4040+9207bbc03.9.20-2.module_el8.10.0+4040+9207bbc0
AlmaLinux:8python39-develbefore 3.9.20-2.module_el8.10.0+4040+9207bbc03.9.20-2.module_el8.10.0+4040+9207bbc0
AlmaLinux:8python39-idlebefore 3.9.20-2.module_el8.10.0+4040+9207bbc03.9.20-2.module_el8.10.0+4040+9207bbc0
AlmaLinux:8python39-idnabefore 2.10-4.module_el8.10.0+3849+a48d89aa2.10-4.module_el8.10.0+3849+a48d89aa
AlmaLinux:8python39-iniconfigbefore 1.1.1-2.module_el8.6.0+2780+a40f65e11.1.1-2.module_el8.6.0+2780+a40f65e1
AlmaLinux:8python39-libsbefore 3.9.20-2.module_el8.10.0+4040+9207bbc03.9.20-2.module_el8.10.0+4040+9207bbc0
AlmaLinux:8python39-lxmlbefore 4.6.5-1.module_el8.6.0+2780+a40f65e14.6.5-1.module_el8.6.0+2780+a40f65e1
AlmaLinux:8python39-lxmlbefore 4.6.5-1.module_el8.6.0+3248+c431e88c4.6.5-1.module_el8.6.0+3248+c431e88c

+96

Other highest-scoring records for the same primary product.

  • CVE-2013-1633easy_install in setuptools before 0.7 uses HTTP to retrieve packages from the PyPI repository, and does not perform integrity checks on pack
    28Monitor
  • CVE-2026-59890setuptools: MANIFEST.in exclusion bypass in sdist via Unicode normalization collision (NFC/NFD) on macOS APFS/HFS+
    24Monitor
  • CVE-2022-40897Python Packaging Authority (PyPA) setuptools before 65.5.1 allows remote attackers to cause a denial of service via HTML in a crafted packag
    24Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
azl3 python-setuptools 69.0.3-5 on Azure Linux 3.069.0.3-5 · CBL-Mariner ReleasesMicrosoft (MSRC)
almalinux:fence-agents-aliyun4.10.0-86.el9_6.7 · AlmaLinux:9Package registry (OSV)
almalinux:fence-agents-all4.10.0-86.el9_6.7 · AlmaLinux:9Package registry (OSV)
almalinux:fence-agents-amt-ws4.10.0-86.el9_6.7 · AlmaLinux:9Package registry (OSV)
almalinux:fence-agents-apc4.10.0-86.el9_6.7 · AlmaLinux:9Package registry (OSV)
almalinux:fence-agents-apc-snmp4.10.0-86.el9_6.7 · AlmaLinux:9Package registry (OSV)
almalinux:fence-agents-aws4.10.0-86.el9_6.7 · AlmaLinux:9Package registry (OSV)
almalinux:platform-python-setuptools39.2.0-9.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:python3-setuptools53.0.0-13.el9_6.1 · AlmaLinux:9Package registry (OSV)
almalinux:python3-setuptools-wheel53.0.0-13.el9_6.1 · AlmaLinux:9Package registry (OSV)
almalinux:python3.11-setuptools65.5.1-4.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:python3.11-setuptools-wheel65.5.1-4.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:python3.12-setuptools-wheel68.2.2-5.el8_10 · AlmaLinux:8Package registry (OSV)
debian:setuptools66.1.1-1+deb12u2 · Debian:12Package registry (OSV)
opensuse:bazel-rules-python2.3.3-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:oci-cli3.76.2-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:python-setuptools67.7.2-150400.3.19.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:python-setuptools-wheel67.7.2-150400.3.19.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:python3-setuptools44.1.1-150400.9.12.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:python3-setuptools-test44.1.1-150400.9.12.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:python3-setuptools-wheel44.1.1-150400.9.12.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:python310-setuptools67.6.1-150400.4.12.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:python312-setuptools68.1.2-150600.3.6.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:python39-setuptools44.1.1-150300.7.12.1 · openSUSE:Leap 15.6Package registry (OSV)
PyPI:setuptools78.1.1Package registry (OSV)
red hat:fence-agents0:4.10.0-43.el9_2.14 · Red Hat:rhel_e4s:9.2::appstreamPackage registry (OSV)
red hat:fence-agents-common0:4.10.0-43.el9_2.14 · Red Hat:rhel_e4s:9.2::appstreamPackage registry (OSV)
red hat:fence-agents-compute0:4.10.0-43.el9_2.14 · Red Hat:rhel_e4s:9.2::appstreamPackage registry (OSV)
red hat:fence-agents-debuginfo0:4.10.0-43.el9_2.14 · Red Hat:rhel_e4s:9.2::appstreamPackage registry (OSV)
red hat:platform-python-setuptools0:39.2.0-9.el8_10 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)

+31

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Proof-of-concept repository on GitHub ×2

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Proof-of-concept repository on GitHubstars:12026-03-15
Proof-of-concept repository on GitHubstars:12026-03-15

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. Published
  2. First PoC+301 d
  3. TodayNov 3, 2026+535 d

No history yet (it accumulates with the daily EPSS job).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
Integrity
Availability
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
X

CVSS 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

nvd-secondary

Root cause

A user-supplied file name is joined with the allowed directory, but the result is never checked to confirm it is still inside that directory.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
const file = path.join(ROOT, req.query.name);res.sendFile(file);

Fixed

ts
const file = path.resolve(ROOT, req.query.name);if (!file.startsWith(ROOT + path.sep)) {  return res.sendStatus(400);}res.sendFile(file);

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records