# RUSTSEC-2026-0307: uncbv: archive extraction is vulnerable to path traversal (zip-slip)

- Database: RustSec
- Published: 2026-09-23
- Modified: 2026-09-24

## Affected versions

- uncbv (crates.io): fixed in 0.3.1

## 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).

## References

- https://crates.io/crates/uncbv
- https://rustsec.org/advisories/RUSTSEC-2026-0307.html
- https://github.com/antoyo/uncbv

Page: https://cve.now/RUSTSEC-2026-0307

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
