Skip to main content
VulnerabilityPublished Updated

CVE-2026-115908: zip · `ZipArchive::extract` can write outside the destination through absolute or chained symlink targets

Affects zipSource GCVE Database

0
Compare
Authoritative record:CVE-2026-115908· High 7.4

Not known to be exploited · CVSS 7.4 High : upgrade to 9.0.0 soon.

Data as of 17 Nov 2026, 10:50 UTC

CVSS 3.1 base score
7.4High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.17.4
Patch
Available – fixed in 9.0.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 26 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 16 Nov 2026.

What to do

Upgrade zip to 9.0.0.

Affected software

ProductAffectedFixed in
crates.iozippkg:cargo/zipOther threatsAffected
  • >=7.2.0 <9.0.0
Fixed in
  • 9.0.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available in version 9.0.0 that fixes the symlink resolution logic to prevent writes outside the destination directory. Users should upgrade to version 9.0.0 or later to remediate this vulnerability. There are no vendor advisories indicating that no action is required or that the issue is already mitigated. Until patched, avoid extracting untrusted zip archives with ZipArchive::extract or extract_unwrapped_root_dir.

Description

A vulnerability in ZipArchive::extract and ZipArchive::extract_unwrapped_root_dir allows crafted zip archives to write files outside the intended destination directory by exploiting symlink targets. The flaw arises because the path checks do not properly resolve symlinks and can be bypassed with chained symlinks, potentially overwriting arbitrary files. This affects versions from 7.2.0 up to but not including 9.0.0. The issue is fixed in version 9.0.0 by properly resolving symlink targets and preventing writes outside the destination.

References

Community reviews

Loading reviews…