{"id":"RUSTSEC-2026-0307","summary":"`uncbv`: archive extraction is vulnerable to path traversal (zip-slip)","details":"### Summary\n\n`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).","modified":"2026-09-24T09:00:02.706166545Z","published":"2026-09-23T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/uncbv"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2026-0307.html"},{"type":"WEB","url":"https://github.com/antoyo/uncbv"}],"affected":[{"package":{"name":"uncbv","ecosystem":"crates.io","purl":"pkg:cargo/uncbv"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.3.1"}]}],"ecosystem_specific":{"affects":{"arch":[],"os":[],"functions":[]},"affected_functions":null},"database_specific":{"informational":null,"categories":["code-execution"],"cvss":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0307.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H"}]}