What’s Vulnerable › Vulnerabilities

CVE-2026-3219: pip doesn't reject concatenated ZIP and tar archives

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Pypi Pip 26.1; Python Packaging Authority pip 26.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-3219 or the next vulnerability affects your stack