RUSTSEC-2026-0307
7.1high
`uncbv`: archive extraction is vulnerable to path traversal (zip-slip)
- Severity
- 7.1high CVSS:3.1 by RustSec Advisory Database
- Published
- Last changed
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).
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| uncbv (crates.io) | from 0.0.0-0 before 0.3.1 | RustSec Advisory Database |
References
Sources
| Source | Record | Licence |
|---|---|---|
| RustSec Advisory Database | RUSTSEC-2026-0307 changed 2026-09-24 | CC0-1.0 |