Skip to main content
CVE-2026-59890VulnerabilityPublished Updated

sdist · setuptools: MANIFEST.in exclusion bypass

Affects duplicitySource GCVE Database

0
Compare
Authoritative record:CVE-2026-59890· Medium 6.1

Not known to be exploited · CVSS 6.1 Medium · fixed in 3.1.0_2 : update duplicity when convenient.

Data as of 1 Nov 2026, 02:07 UTC

CVSS 3.1 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 3.1.0_2, 2.2.3, 0.7.09_1
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  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), the Metasploit, Exploit-DB and nuclei-templates index as of 31 Oct 2026.

What to do

Upgrade duplicity to 3.1.0_2, 2.2.3 or 0.7.09_1.

Affected software

ProductAffectedFixed in
Homebrewduplicitypkg:brew/duplicityOther threatsAffected
  • >=0.7.06 <0.7.09_1
  • >=2.2.2 <2.2.3
  • >=3.0.3.2 <3.1.0_2
Fixed in
  • 0.7.09_1
  • 2.2.3
  • 3.1.0_2

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

AI-suggested

A fix is available in setuptools versions 3.1.0_2, 2.2.3, and 0.7.09_1 that normalizes both the on-disk filenames and MANIFEST.in patterns to a canonical Unicode form before matching. Users should upgrade to these fixed versions to prevent exclusion bypass. Until upgrading, maintainers should be aware that MANIFEST.in exclusions are normalization-insensitive on macOS and consider this when managing sensitive files.

Description

A Unicode normalization mismatch in setuptools causes MANIFEST.in exclusion rules to fail on macOS APFS/HFS+ filesystems. When building source distributions, excluded files with non-ASCII names may be included if the on-disk filename is in NFD form but the exclusion pattern is in NFC form, leading to unintended disclosure of files. This affects setuptools versions prior to fixed releases and is particularly relevant for maintainers publishing to PyPI on macOS. The issue is fixed in setuptools versions 3.1.0_2, 2.2.3, and 0.7.09_1.

References

Community reviews

Loading reviews…