RUSTSEC-2026-0307 `uncbv`: archive extraction is vulnerable to path traversal (zip-slip)
HighCVSS 7.1
- Published
- Updated
- Exploit status
- No public exploit known
Description
Summary
uncbv extract writes each archive entry to output_dir.join(entry_filename) using the filename stored in the archive with no check for .. components or absolute paths. A malicious .cbv / .cbz archive whose entry name contains ../ (or an absolute path) can therefore cause files to be written outside the output directory chosen by the user. This is a "zip-slip" / directory-traversal arbitrary file write (CWE-22).
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io uncbv(crates.io) | >= 0.0.0-0, < 0.3.1 | 0.3.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io uncbv(crates.io) | >= 0.0.0-0, < 0.3.1 | 0.3.1 |
References
- crates.io product
- rustsec.org vendor-advisory
- github.com