Skip to main content
CVE-2025-47273VulnerabilityPublished Updated

Snapcraft: setuptools has a path traversal vulnerability in PackageIndex.download that leads to Arbitrary File Write

Affects snapcraftSource GCVE Database

0
Compare

Public exploit available · CVSS 8.7 High : upgrade to 8.8.1 or 8.0.1 as a priority.

Data as of 4 Dec 2026, 18:36 UTC

CVSS 4.0 base score
8.7High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
1.6% chance of exploitation in 30 days – higher than 76% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 8.8.1, 8.0.1, 78.1.1
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    CVSS exploit maturity: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 4 Dec 2026.

What to do

Upgrade snapcraft to 8.8.1 or 8.0.1; setuptools to 78.1.1.

Affected software

ProductAffectedFixed in
Homebrewsnapcraftpkg:brew/snapcraftOther threatsAffected
  • >=7.3.1_1 <8.0.1
  • >=8.0.3 <8.8.1
Fixed in
  • 8.0.1
  • 8.8.1
PyPIsetuptoolspkg:pypi/setuptoolsOther threatsAffected
  • <78.1.1
Fixed in
  • 78.1.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fixed version of setuptools is available (78.1.1). Users should upgrade to Snapcraft versions 8.0.1 or later, specifically versions >=8.0.1 and >=8.8.1, which include the fix. No additional mitigation is required if these versions are deployed.

Description

A path traversal vulnerability in setuptools' PackageIndex.download function allows an attacker to write files to arbitrary locations on the filesystem. This occurs due to insufficient sanitization of filenames derived from URLs, enabling os.path.join to be bypassed. The vulnerability was fixed in setuptools version 78.1.1. Exploitation could lead to arbitrary file write with the permissions of the running process, potentially escalating to remote code execution depending on context. The affected Snapcraft versions are >=7.3.1_1 <8.0.1 and >=8.0.3 <8.8.1, with fixes in 8.0.1 and 8.8.1. The vulnerability has a high severity CVSS score of 8.7 and no known exploits in the wild.

References

Community reviews

Loading reviews…