CVE Catalog

CVE-2026-145817

MediumCVSS 4.7
Published: Translated: NVD NIST

Summary

Setuptools through 84.2.1 contains an exclusion bypass vulnerability in build_py.exclude_data_files and discovery._Filter because exclude_package_data and find_packages patterns use byte-exact fnmatch without Unicode normalization. NFD file or package names on disk fail to match NFC patterns, so author-excluded data files or packages are silently included in published wheels or source distributions.

Risk Assessment

Unauthorized inclusion of files or packages in distributions can lead to data leakage or introduction of unwanted code into production environments.

Recommendation

Update Setuptools to a version later than 84.2.1, which fixes the exclusion bypass vulnerability.

Other vulnerabilities in Setuptools

See all
Original NVD description (English source)

Setuptools through 84.2.1 contains an exclusion bypass vulnerability in build_py.exclude_data_files and discovery._Filter because exclude_package_data and find_packages patterns use byte-exact fnmatch without Unicode normalization. NFD file or package names on disk fail to match NFC patterns, so author-excluded data files or packages are silently included in published wheels or source distributions.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS