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

Published Apr 20, 2026
·
Updated

pip doesn't reject concatenated ZIP and tar archives

Other sources

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.

NVD

Affected Software

7 affected componentsFixes available
pypi/pip
Microsoft azl3 python-pip 24.2-6
Microsoft azl3 python-virtualenv 20.36.1-2
Microsoft azl3 python-pip 24.2-8<24.2-8
24.2-8
Microsoft azl3 python-virtualenv 20.36.1-2<20.36.1-3
20.36.1-3
Microsoft azl3 python-pip 24.2-6<24.2-7
24.2-7
IBM Netezza Software<=11.3.0.3-IF2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 20.36.1-3
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 24.2-8
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 20.36.1-4
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 24.2-7

Event History

Apr 20, 2026
CVE Published
via MITRE·02:55 PM
Data Sourced
via MITRE·02:55 PM
Description
Data Sourced
via NVD·04:16 PM
DescriptionSeverityWeakness
Apr 23, 2026
Data Sourced
via Microsoft·08:03 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:03 AM
Affected Software
Updated
via Microsoft·08:03 AM
DescriptionSeverity
Aug 20, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2026-3219?

CVE-2026-3219 is classified as a moderate severity vulnerability due to the risk of incorrect file installations.

2

How do I fix CVE-2026-3219?

To mitigate CVE-2026-3219, ensure that you are using the latest version of pip where this issue has been addressed.

3

What versions of pip are affected by CVE-2026-3219?

CVE-2026-3219 affects multiple versions of pip that allow processing of concatenated ZIP and tar files.

4

What potential impact does CVE-2026-3219 have on users?

The impact of CVE-2026-3219 could lead users to install unintended or incorrect files from concatenated archives.

5

Is there any workaround for CVE-2026-3219 until it is fixed?

As a workaround for CVE-2026-3219, carefully review and validate files in archives before installation.

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