Skip to main content
CVE-2026-61725VulnerabilityPublished

sevenz-rust2: decompress builds each output path as dest.join(entry.name()) with no traversal guard, allowing a

Affects sevenz-rust2Source GCVE Database

0
Compare
Authoritative record:CVE-2026-61725· Medium 6.1

Not known to be exploited · CVSS 6.1 Medium : upgrade to 0.21.1 when convenient.

Data as of 21 Nov 2026, 00:32 UTC

CVSS 3.1 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.16.1
Patch
Available – fixed in 0.21.1
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 20 Nov 2026.

What to do

Upgrade sevenz-rust2 to 0.21.1.

Affected software

ProductAffectedFixed in
crates.iosevenz-rust2Affected
  • <0.21.1
Fixed in
  • 0.21.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fixed version (0.21.1) of sevenz-rust2 is available and should be used to mitigate this vulnerability. The patch enforces path normalization and verification that extracted paths remain within the destination directory, rejecting entries with parent directory, root directory, or prefix components. Consumers extracting untrusted archives should upgrade to version 0.21.1 or later.

Description

The sevenz-rust2 library versions prior to 0.21.1 contain a directory traversal vulnerability during extraction of 7z archives. The extractor joins each entry's path onto the destination directory without normalization or checks, allowing crafted archive entries with paths like '../../etc/cron.d/x' or absolute paths to write files outside the intended extraction directory. This can lead to arbitrary file writes, potentially overwriting critical system or application files and enabling code execution or persistence. The issue was fixed in version 0.21.1.

References

Community reviews

Loading reviews…