CVE-2026-61725

MEDIUM
MEDIUM Priority: 0.01 BB Relevance: 37/100
Published: 2026-10-30 Modified: 2026-11-02 First seen: 2026-10-30 Status: active

Attack Surface

Low Complexity No Auth Integ. Impact

CVSS Vector Breakdown

AV: Local
AC: Low
PR: None
UI: Required
S: Unchanged
C: None
I: High
A: Low

Description

sevenz-rust2 is a Rust-native 7z compressor and `decompress`or. Prior to 0.21.1, extracting an attacker-supplied 7z archive can write or overwrite files outside the destination directory. In `src/util/decompress.rs`, `decompress_impl` computes each destination with `dest.join(entry.name())` without normalizing the archive's UTF-16 entry name or verifying containment, and `default_entry_extract_fn` writes to it with `File::create`. Parent-directory components escape the extraction root, and an absolute entry path makes the join discard the destination entirely. The convenience entry points `decompress`, `decompress_file`, `decompress_with_password`, and `decompress_file_with_password` all use this default path. Overwriting writable configuration, startup, cron, or build files can lead to code execution or persistence. The archive bytes are the attacker-controlled trust boundary, including for applications that automatically unpack uploaded or otherwise untrusted archives. This issue is fixed in version 0.21.1.

Affected Software (2)

VendorProductVersion
hasenbanck sevenz-rust2 < 0.21.1
hasenbanck sevenz-rust2 < 0.21.1

Bug Bounty Relevance

37 / 100
✓ No authentication
✓ Low complexity

CVSS Score

6.1 / 10.0 v3.1
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L

EPSS — Exploitation Probability

0.14%
Raw Score 0.001380
Percentile 3.2%
Date 2026-11-13

EPSS Trend

2026-11-13
0.00138
2026-11-12
0.00138
2026-11-10
0.00138
2026-11-09
0.00138
2026-11-08
0.00138
2026-11-07
0.00138
2026-11-06
0.00138
2026-11-05
0.00138
2026-11-04
0.00138
2026-11-03
0.00138
2026-11-02
0.00138
2026-11-01
0.00138
2026-10-31
0.00138

Intelligence Sources

mitre ref →
nvd ref →