{"id":"UBUNTU-CVE-2026-115908","details":"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.","modified":"2026-10-28T20:17:21.342275508Z","published":"2026-10-26T17:17:00Z","upstream":["CVE-2026-115908"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-115908"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-115908"},{"type":"REPORT","url":"https://github.com/zip-rs/zip2/commit/09c030eab56e8db8fb3c1c33f554407b30bad8fa"},{"type":"REPORT","url":"https://github.com/zip-rs/zip2/security/advisories/ghsa-hjqx-j4rw-g7xv"},{"type":"REPORT","url":"https://github.com/cveproject/cvelistv5/tree/main/cves/2026/115xxx/cve-2026-115908.json"},{"type":"REPORT","url":"https://github.com/zip-rs/zip2/releases/tag/v9.0.0"},{"type":"REPORT","url":"https://nvd.nist.gov/vuln/detail/cve-2026-115908"}],"affected":[{"package":{"name":"rust-zip","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/rust-zip?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.0-1","0.5.3-1","0.5.3-2"],"ecosystem_specific":{"binaries":[{"binary_name":"librust-zip+bzip2-dev","binary_version":"0.5.3-2"},{"binary_version":"0.5.3-2","binary_name":"librust-zip+default-dev"},{"binary_name":"librust-zip+deflate-dev","binary_version":"0.5.3-2"},{"binary_name":"librust-zip+deflate-miniz-dev","binary_version":"0.5.3-2"},{"binary_version":"0.5.3-2","binary_name":"librust-zip+deflate-zlib-dev"},{"binary_name":"librust-zip+flate2-dev","binary_version":"0.5.3-2"},{"binary_name":"librust-zip+time-dev","binary_version":"0.5.3-2"},{"binary_name":"librust-zip-dev","binary_version":"0.5.3-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115908.json"}},{"package":{"name":"rust-zip","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/rust-zip?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.8-2","0.5.13-1"],"ecosystem_specific":{"binaries":[{"binary_name":"librust-zip+bzip2-dev","binary_version":"0.5.13-1"},{"binary_name":"librust-zip+default-dev","binary_version":"0.5.13-1"},{"binary_name":"librust-zip+deflate-dev","binary_version":"0.5.13-1"},{"binary_name":"librust-zip+deflate-miniz-dev","binary_version":"0.5.13-1"},{"binary_name":"librust-zip+deflate-zlib-dev","binary_version":"0.5.13-1"},{"binary_name":"librust-zip+flate2-dev","binary_version":"0.5.13-1"},{"binary_name":"librust-zip+time-dev","binary_version":"0.5.13-1"},{"binary_version":"0.5.13-1","binary_name":"librust-zip-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115908.json"}},{"package":{"name":"rust-zip","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/rust-zip?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.6-1","0.6.6-2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.6.6-2","binary_name":"librust-zip-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115908.json"}},{"package":{"name":"rust-zip","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/rust-zip?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.1.1-3","5.1.1+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"librust-zip-dev","binary_version":"5.1.1+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115908.json"}},{"package":{"name":"rust-zip","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/rust-zip?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5.0-1","5.1.1-2","5.1.1-3"],"ecosystem_specific":{"binaries":[{"binary_version":"5.1.1-3","binary_name":"librust-zip-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115908.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}