CVE-2026-3219
MEDIUM 4.6CVSS 4.0pip has an interpretation conflict due to handling both concatenated tar and ZIP files as ZIP files
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.
- Published
- 20 Apr 2026
- Last modified
- 26 Oct 2026
- Assigned by
- cna@python.org
- NVD status
- Awaiting Analysis
- Weakness
- CWE-434
- Also known as
- GHSA-58qw-9mgm-455vPYSEC-2026-2875
- Sources
- NVDJSONOSV GHSA-58qw-9mgm-455vJSONOSV PYSEC-2026-2875JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cna@python.org (Secondary) | CVSS 4.0 | MEDIUM 4.6 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| OSV | PyPA | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | pip | < 26.1 | 26.1 |
References
- https://github.com/pypa/pip/pull/13870 · WEB
- https://mail.python.org/archives/list/security-announce@python.org/thread/QAJ5JIVWWCAJ4EZL2FP5MOOW35JS7LRJ/ · WEB
- http://www.openwall.com/lists/oss-security/2026/04/20/8 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-3219 · ADVISORY
- https://github.com/pypa/pip/issues/13867 · WEB
- https://github.com/pypa/pip · PACKAGE
- https://pypi.org/project/pip · PACKAGE
- https://github.com/advisories/GHSA-58qw-9mgm-455v · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 20 Apr 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Apr 2026)