VDB

CVE-2026-85396

CVE-2026-85396 PUBLISHED CVSS 8.7 HIGH

rubyzip before 3.4.0 Path Traversal in Zip::Entry#extract via Sibling-Directory Prefix

Reported by vulncheck · Published September 3, 2026

rubyzip versions before 3.4.0 contain a path traversal vulnerability in Zip::Entry#extract that fails to properly validate extraction paths using prefix comparison without trailing separators. Attackers can craft archive entries with names like ../upload_backup/owned.sh to write files outside the intended extraction directory into sibling paths sharing the destination prefix.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
logstash-9.5Chainguard9.5.5-r0
logstash-fips-9.4Chainguard9.4.8-r0
rubyziprubyzip3.4.0

Risk scores

CVSS 4.0
8.7
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Affected products

VendorProductVersions
rubyziprubyzip0, 3.4.0
chainguardlogstash-9.50
chainguardlogstash-fips-9.40
rubyziprubyzip3.4.0, 0
rubyzip_projectrubyzip0
wolficinc-auditor0
RubyGemsrubyzip0
wolfilogstash-9.40
chainguardlogstash-9.40
chainguardlogstash-fips-9.50
chainguardcinc-auditor0

Timeline

  • Sep 3, 2026 CVE Published
  • Sep 4, 2026 EPSS Score (27 in total, the first dated here)
  • Oct 30, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-85396
vulnetix vdb fixes CVE-2026-85396

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-85396/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›