CVE-2026-10732
decompress: Decompress: Arbitrary file write leading to remote code execution via crafted ZIP archive (Zip Slip)
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · June 5, 2026
Updated · September 5, 2026
Description
A flaw was found in the decompress package. A remote attacker can exploit this by providing a crafted ZIP archive with two entries at the same path: a symlink to an arbitrary target and a regular file. Due to microtask processing order, the file content is written through the symlink before it is resolved, allowing writes outside the output directory. This Zip Slip bypasses path traversal protections including preventWritingThroughSymlink (CVE-2020-12265) and can lead to remote code execution.
Statement
The decompress package is vulnerable to arbitrary file write via Zip Slip when extracting a crafted ZIP containing a symlink and regular file at the same path. Microtask ordering checks readlink on the second entry before resolving the first symlink, bypassing preventWritingThroughSymlink and prior CVE-2020-12265 protections. An attacker who can supply a malicious archive for extraction may write files outside the intended output directory, potentially leading to remote code execution on the host.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 7.5CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')