pip has an interpretation conflict due to handling both concatenated tar and ZIP files as ZIP files
Moderate severity
GitHub Reviewed
Published
Apr 20, 2026
to the GitHub Advisory Database
•
Updated Apr 24, 2026
Description
Published by the National Vulnerability Database
Apr 20, 2026
Published to the GitHub Advisory Database
Apr 20, 2026
Reviewed
Apr 24, 2026
Last updated
Apr 24, 2026
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.
References