CVE-2026-61725: Sevenz rust2 · Extraction could write files outside the destination directory
Affects sevenz-rust2Source GCVE Database
Not known to be exploited · CVSS 6.1 Medium : upgrade to 0.21.1 when convenient.
Data as of 1 Dec 2026, 10:30 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 6.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:LExploitation evidence
Disclosed: evidence found.
CVE published 30 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 1 Dec 2026.
What to do
Upgrade sevenz-rust2 to 0.21.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
crates.iosevenz-rust2pkg:cargo/sevenz-rust2Other threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade sevenz-rust2 to version 0.21.1 or later, which includes validation of archive entry paths during extraction to prevent this vulnerability. No other mitigations are indicated or necessary once patched.
Description
A path traversal vulnerability in sevenz-rust2 prior to version 0.21.1 allows extraction of 7z archives to write files outside the intended destination directory. This could lead to overwriting or creating files in arbitrary locations. The issue is fixed in version 0.21.1 by adding validation of archive entry paths during extraction.
References
- crates.io/crates/sevenz-rust2 (opens in a new tab)
- rustsec.org/advisories/RUSTSEC-2026-0624.html (opens in a new tab)
- github.com/hasenbanck/sevenz-rust2/commit/ef760b61f3535ac8b93006212aef41bfebc237eb (opens in a new tab)
- github.com/hasenbanck/sevenz-rust2/security/advisories/GHSA-qh76-45cr-8xrc (opens in a new tab)