{"id":"CVE-2026-3219","published":"2026-04-20T14:55:38Z","modified":"2026-04-20T20:15:23Z","title":"pip doesn't reject concatenated ZIP and tar archives","vendor":"Python Packaging Authority","product":"pip","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.6,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00137,"percentile":0.03178,"provenance":"source"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"references":[{"url":"https://github.com/pypa/pip/pull/13870","tags":["patch"]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/QAJ5JIVWWCAJ4EZL2FP5MOOW35JS7LRJ/","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2026/04/20/8","tags":[]}],"priority":{"score":3.9,"factors":[{"name":"EPSS percentile","points":0.64},{"name":"CVSS severity","points":3.22}]},"vendorSlug":"python-packaging-authority","affectedVersions":[{"vendor":"Python Packaging Authority","product":"pip","versions":["< 26.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-20T16:03:20.592162Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pip","vulnerableRanges":["<26.1"],"patched":["26.1"],"from":["GHSA-58qw-9mgm-455v","PYSEC-2026-2875"],"provenance":"source"}],"summary":{"text":"pip's archive handling in the pip package does not reject files that are concatenations of ZIP and tar archives, instead treating them as ZIP files regardless of filename or whether they are also valid tar archives. An attacker who can get a user to install a crafted archive, which requires local access and user interaction, could cause pip to install different files than the archive's filename suggests, with the caveat that the newer behavior only proceeds when a file identifies uniquely as one format.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:22:12Z"},"euvd":{"id":"EUVD-2026-23866","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-5752","published":"2023-10-24","fixed":"23.3","kev":false},{"cve":"CVE-2025-8869","published":"2025-09-24","fixed":"25.3","kev":false},{"cve":"CVE-2026-1703","published":"2026-02-02","fixed":"26.0","kev":false,"link":{"from":"CVE-2026-1703","to":"CVE-2026-3219","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pip","fromFixed":"26.0","toFixed":"26.1","daysApart":77}]}},{"cve":"CVE-2026-3219","published":"2026-04-20","fixed":"26.1","kev":false},{"cve":"CVE-2026-6357","published":"2026-04-27","fixed":"26.1","kev":false},{"cve":"CVE-2026-8643","published":"2026-06-01","fixed":"26.1.2","kev":false},{"cve":"CVE-2026-13346","published":"2026-07-29","fixed":"26.2.0","kev":false}],"package":"PyPI:pip"}}