zip is a zip library for Rust that supports reading and writing simple ZIP files. From 7.2.0 until 9.0.0, ZipArchive::extract and ZipArchive::extract_unwrapped_root_dir use safe_prepare_path in src/read/zipfile.rs and simplified_components in src/path.rs to validate symbolic link targets with a lexical prefix comparison rather than resolving each intermediate link. An attacker who knows or can guess the absolute extraction destination can create a chain whose apparent target remains under the destination while an intermediate symlink resolves outside it, allowing attacker-controlled files to be created or overwritten with the extracting process's privileges. On Windows, discarded drive and UNC prefixes can permit a single-link escape when the process has SeCreateSymbolicLinkPrivilege, such as through administrator rights or Developer Mode. This regression is distinct from CVE-2025-29787. This issue is fixed in version 9.0.0.
Fix
Nothing published yet: no patch, vendor advisory or mitigation reference on NVD, no vendor advisory in the News for this CVE, not in CISA's KEV, no fixed package version. BaselineWatch does not guess at one.
Change history 6
- StatusAwaiting Analysis → PublishedNVD modified 2026-10-26 19:36
- StatusPublished → Awaiting AnalysisNVD modified 2026-10-26 20:17
- StatusAwaiting Analysis → PublishedNVD modified 2026-10-26 16:34
- StatusPublished → Awaiting AnalysisNVD modified 2026-10-26 18:34
- StatusReceived → PublishedNVD modified 2026-10-26 16:34
- First seenCVSS 7.4NVD modified 2026-10-26 17:17
Affected (CPE criteria) 0
NVD has not attached CPE configurations yet.