Arbitrary file upload in Python Packaging Authority Pip

CVE-2026-3219

pip handles concatenated tar and ZIP files as ZIP files regardless of filename or whether a file is both a tar and ZIP file. This behavior could result in confusing installation behavior, such as installing "incorrect" files according to the filename of the archive. New behavior only proceeds with installation if the file identifies uniquely as a ZIP or tar archive, not as both.

Vulnerability class: Unrestricted File Upload

EPSS: 0.001 (4.0th percentile) — read the EPSS interpretation.

Affected products

Weakness classification (CWE)

References