Vulnerability · Published Apr 20, 2026 · Assigned by PSF

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

Medium 4.6

In plain English

A medium-severity unrestricted file upload in pip from Python Packaging Authority. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 4% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)4.6Medium
Exploit odds (30 days)0.1%top 96.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12python-pipno fix listedDEBIAN-CVE-2026-3219
Debian:13python-pipno fix listedDEBIAN-CVE-2026-3219
Debian:14python-pip26.1.1+dfsg-1DEBIAN-CVE-2026-3219
PyPIpip26.1PYSEC-2026-2875
PyPIpip26.1GHSA-58qw-9mgm-455v
Ubuntu:25.10python-pipno fix listedUBUNTU-CVE-2026-3219
Ubuntu:26.10python-pipno fix listedUBUNTU-CVE-2026-3219

Affected products (as reported)

VendorProductVersions
Python Packaging Authority pip 0 – before 26.1

Weakness: CWE-434 · Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

References