CVE-2026-12565: Path Traversal (Zip-Slip) in unarchive module

Published Jun 17, 2026
·
Updated

The unarchive internal module's archive extraction commands perform no code-level validation on extracted file paths, relying entirely on the behavior of external tools (e.g. GNU tar) which varies by platform. While CVE-2025-10284 addressed git-specific RCE vectors, the underlying archive extraction path traversal was never fixed. On systems with GNU tar < 1.34 (Ubuntu 20.04, Debian Buster, CentOS 7, many Docker base images), a malicious archive can write files outside the intended extraction directory.

Other sources

The unarchive internal module's archive extraction commands perform no code-level validation on extracted file paths, relying entirely on the behavior of external tools (e.g. GNU tar) which varies by platform. While CVE-2025-10284 addressed git-specific RCE vectors, the underlying archive extraction path traversal was never fixed. On systems with GNU tar < 1.34 (Ubuntu 20.04, Debian Buster, CentOS 7, many Docker base images), a malicious archive can write files outside the intended extraction directory.

MITRE

Affected Software

2 affected componentsFixes available
GNU tar<1.34
pip/bbot>=2.3.1<=2.8.4
2.8.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/bbot to a version that resolves this vulnerability.

    Fixed in 2.8.5
  2. Upgrade

    Upgrade GNU tar to a version that resolves this vulnerability.

    Fixed in 1.34

Event History

Jun 17, 2026
CVE Published
via MITRE·09:45 PM
Data Sourced
via MITRE·09:45 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:17 PM
DescriptionSeverityWeakness
Jun 18, 2026
Advisory Published
via GitHub·03:02 PM
Data Sourced
via GitHub·03:02 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-12565?

CVE-2026-12565 has a medium severity rating of 5.3.

2

How does CVE-2026-12565 affect GNU tar?

CVE-2026-12565 affects GNU tar's unarchive module by allowing path traversal vulnerabilities during archive extraction.

3

What are the potential exploits of CVE-2026-12565?

Exploiting CVE-2026-12565 can allow an attacker to manipulate file paths in extracted archives, leading to unauthorized file access.

4

How do I fix CVE-2026-12565?

To mitigate CVE-2026-12565, ensure to implement proper validation checks for extracted file paths in your archive extraction processes.

5

When was CVE-2026-12565 published?

CVE-2026-12565 was published on June 17, 2026.

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