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

- Severity: High 7.1 (CVSS:3.1, scored by RustSec Advisory Database) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-09-23T12:00:00.000Z
- Modified: 2026-09-24T09:00:02.706Z

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

(As written by RustSec Advisory Database.)

## Affected

- uncbv (crates.io): from 0.0.0-0 before 0.3.1

## References

- <https://crates.io/crates/uncbv> (package)
- <https://rustsec.org/advisories/RUSTSEC-2026-0307.html> (advisory)
- <https://github.com/antoyo/uncbv> (web)

## Sources

- RustSec Advisory Database: [RUSTSEC-2026-0307](https://rustsec.org/advisories/RUSTSEC-2026-0307.html), CC0-1.0, modified 2026-09-24

---

Page: https://cve.day/RUSTSEC-2026-0307 · Whole record: https://cve.day/RUSTSEC-2026-0307.json · Rebuilt by cve.day 2026-11-25T22:56:43.415Z
