CVE-2026-12565
Received Received - Intake
Path Traversal in Unarchive Internal Module

Publication date: 2026-06-17

Last updated on: 2026-06-17

Assigner: Black Lantern Security

Description
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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-17
Last Modified
2026-06-17
Generated
2026-06-18
AI Q&A
2026-06-18
EPSS Evaluated
N/A
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
gnu tar <1.34
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability exists in the unarchive internal module's archive extraction commands, which do not perform code-level validation on the paths of extracted files. Instead, they rely entirely on the behavior of external tools like GNU tar, which can vary depending on the platform.

While a previous vulnerability (CVE-2025-10284) addressed remote code execution (RCE) vectors specific to git, the fundamental issue of archive extraction path traversal was never fixed.

On systems using GNU tar versions earlier than 1.34 (such as Ubuntu 20.04, Debian Buster, CentOS 7, and many Docker base images), a maliciously crafted archive can exploit this flaw to write files outside the intended extraction directory.

Impact Analysis

This vulnerability can allow an attacker to perform path traversal during archive extraction, enabling them to write files outside the intended directory.

Such unauthorized file writes can lead to integrity issues, potentially overwriting critical system or application files.

Although the CVSS score indicates no confidentiality impact, the integrity impact is high, meaning attackers could modify or replace files, which might lead to further exploitation or system instability.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-12565. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart