REDHAT-BUG-2459774: Medium severity pypi/pip vulnerability

Published Apr 20, 2026
·
Updated

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 Software

1 affected component
pypi/pip

Event History

Apr 20, 2026
Data Sourced
via Red Hat·04:02 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What archive inputs are affected by this behavior?

The issue applies to concatenated files that are valid as both tar and ZIP archives. Older behavior treats such files as ZIP archives regardless of their filename or dual-format nature.

2

What does the corrected behavior do differently?

Installation proceeds only when the input identifies uniquely as either a ZIP archive or a tar archive. Files that identify as both formats are no longer accepted for installation.

3

What is the practical impact during installation?

A specially constructed dual-format archive can lead to confusing installation behavior, including installing files that do not match what the archive filename suggests.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203