{"answers":{"affected":"2 open source packages ship an affected version, including zip.","exploited":"There is no known exploitation of CVE-2026-115908 in the wild and no public exploit code.","fix":"Upgrade zip to 9.0.0 or later.","what":"CVE-2026-115908 is a high-severity vulnerability in zip-rs zip2, published on 26 Oct 2026."},"fix_prompt":"Check this codebase for CVE-2026-115908 and fix it if it is affected.\n\nWhat it is: CVE-2026-115908 is a high-severity vulnerability in zip-rs zip2, published on 26 Oct 2026. \nExploitation: There is no known exploitation of CVE-2026-115908 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- zip (crates.io): affected from 7.2.0; fixed in 9.0.0\n- zip (crates.io): affected from 7.2.0; fixed in 9.0.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-115908/ (Markdown: https://insights.sbomify.com/CVE-2026-115908/index.md)","id":"CVE-2026-115908","markdown":"https://insights.sbomify.com/CVE-2026-115908/index.md","name":"CVE-2026-115908","record":{"aliases":["GHSA-hjqx-j4rw-g7xv","UBUNTU-CVE-2026-115908"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":7.4,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-61","name":"UNIX Symbolic Link (Symlink) Following"},{"id":"CWE-59","name":"Improper Link Resolution Before File Access"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"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.","ecosystems":["crates.io"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"zip: Arbitrary file write outside the extraction directory, because ZipArchive::extract validates symlink targets lexically.","id":"CVE-2026-115908","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":null,"year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"zip: Unbounded Symlink-Target Handling Can Abort Or Exhaust Memory During Extraction","id":"CVE-2026-115909"},"packages":[{"ecosystem":"crates.io","fixed":["9.0.0"],"introduced":["7.2.0"],"last_affected":[],"package":"zip","purl":null,"source":"GHSA-hjqx-j4rw-g7xv"},{"ecosystem":"crates.io","fixed":["9.0.0"],"introduced":["7.2.0"],"last_affected":[],"package":"zip","purl":"pkg:cargo/zip","source":"GHSA-hjqx-j4rw-g7xv"}],"prev":{"headline":"zip: legacy Shrink/Reduce/Implode decoder: denial of service from attacker-controlled ZIP64 uncompressed size","id":"CVE-2026-115907"},"products":["zip2"],"published":"2026-10-26","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-26","vendors":["zip-rs"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-115908/"}