CVE-2026-61725
Last modified
CVE-2026-61725 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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. EPSS estimates a 0.14% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| hasenbanck | sevenz-rust2 | < 0.21.1 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-61725?
How severe is CVE-2026-61725?
How do I fix CVE-2026-61725?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-61719WeGIA is a web manager for charitable institutions. Prior to…8.9
- CVE-2026-6172The Bold Page Builder plugin for WordPress is vulnerable to …6.4
- CVE-2026-61720FluidSynth is a software synthesizer based on the SoundFont …6.2
- CVE-2026-61721FluidSynth is a software synthesizer based on the SoundFont …8
- CVE-2026-61722FluidSynth is a software synthesizer based on the SoundFont …6.8
- CVE-2026-61723FluidSynth is a software synthesizer based on the SoundFont …6.8
- CVE-2026-61726Tandoor Recipes is an application for managing recipes, plan…8.1
- CVE-2026-61728SOCFortress CoPilot focuses on providing a single pane of gl…9.9
- CVE-2026-61729SOCFortress CoPilot focuses on providing a single pane of gl…9.4
- CVE-2026-6173The Bold Page Builder plugin for WordPress is vulnerable to …6.4
- CVE-2026-61730SOCFortress CoPilot focuses on providing a single pane of gl…9.3
- CVE-2026-61732Decepticon is an autonomous hacking agent for red teams. Ver…10
Are you affected by CVE-2026-61725?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
