{"schema_version":"1.9.2","id":"RUSTSEC-2026-0624","published":"2026-06-30T12:00:00Z","modified":"2026-12-01T09:30:02.683795662Z","aliases":["CVE-2026-61725","GHSA-qh76-45cr-8xrc"],"summary":"Extraction could write files outside the destination directory","details":"Applications that extracted untrusted 7z archives with the built-in extraction functions\ncould create or overwrite files outside the directory selected by the caller. Version\n0.21.1 adds validation of archive entry paths during extraction.","affected":[{"package":{"name":"sevenz-rust2","ecosystem":"crates.io","purl":"pkg:cargo/sevenz-rust2"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.21.1"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"arch":[],"functions":[],"os":[]}},"database_specific":{"categories":[],"cvss":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L","informational":null,"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0624.json"}}],"references":[{"type":"PACKAGE","url":"https://crates.io/crates/sevenz-rust2"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2026-0624.html"},{"type":"WEB","url":"https://github.com/hasenbanck/sevenz-rust2/commit/ef760b61f3535ac8b93006212aef41bfebc237eb"},{"type":"ADVISORY","url":"https://github.com/hasenbanck/sevenz-rust2/security/advisories/GHSA-qh76-45cr-8xrc"}],"database_specific":{"license":"CC-BY-4.0"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L"}]}