Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. pip
  4. ›
  5. CVE-2026-3219

CVE-2026-3219: pip has an interpretation conflict due to handling both concatenated tar and ZIP files as ZIP files

April 20, 2026 (updated April 24, 2026)

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.

References

  • github.com/advisories/GHSA-58qw-9mgm-455v
  • github.com/pypa/pip
  • github.com/pypa/pip/pull/13870
  • mail.python.org/archives/list/security-announce@python.org/thread/QAJ5JIVWWCAJ4EZL2FP5MOOW35JS7LRJ
  • nvd.nist.gov/vuln/detail/CVE-2026-3219

Code Behaviors & Features

Detect and mitigate CVE-2026-3219 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 26.0.1

Solution

Unfortunately, there is no solution available yet.

Impact 3.3 LOW

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-434: Unrestricted Upload of File with Dangerous Type

Source file

pypi/pip/CVE-2026-3219.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:00 +0000.