CVE-2026-85396
7.5, highrubyzip Path Traversal Vulnerability
- CVSS
- 7.5, high high CVSS v3.1
- EPSS, next 30 days
- 0.6% higher than 45.7% of scored CVEs
- Exploitation
- No public evidence
- Published
- 3 Sept 2026a month ago
Description
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.
Details
- Vendor
- Rubyzip
- Product
- rubyzip
- Weakness
- CWE-22 (opens in a new tab)
- Status
- Awaiting analysis
- Updated
- 24 Sept 2026
- Assigner
- disclosure@vulncheck.com
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
References 6
Patches and fixes 1
Other references 5
- github.com /geo-chen/oss/blob/main/rubyzip.md (opens in a new tab)
- github.com /rubyzip/rubyzip (opens in a new tab)
- github.com /rubyzip/rubyzip/blob/v3.3.1/lib/zip/entry.rb (opens in a new tab)
- github.com /rubyzip/rubyzip/releases/tag/v3.4.0 (opens in a new tab)
- vulncheck.com /advisories/rubyzip-before-3.4.0-path-traversal-in-zip-entry-extract-via-sibling-directory-prefix (opens in a new tab)
The kind is read from NVD's tags where present and from the shape of the URL otherwise, so treat it as a hint.
Beyond this page
Is CVE-2026-85396 in your network?
This page tells you how dangerous CVE-2026-85396 is out there. Whether it sits on one of your devices, only a scan of your own network can tell. That is what our systems do, every day, for the companies we protect.
-
EXYS7600 OCELOT
Find it before attackers do
Ocelot scans your network on a schedule and reports every vulnerability it finds by its CVE identifier, with its CVSS score and how many of your hosts are affected. A finding like CVE-2026-85396 comes with the devices to patch.
Learn more about EXYS7600 OCELOT -
EXYS7950 KONDRA
Detect it if it's exploited
Until the patch is applied, Kondra monitors your network, events and endpoints in real time. It keeps an inventory of the software installed on every endpoint, and its anomaly detection rules flag what an attacker does once inside.
Learn more about EXYS7950 KONDRA
Assembled from the NVD 2.0 API, the CISA Known Exploited Vulnerabilities Catalog and FIRST EPSS. Scores are as of our last collection on 17 Oct 2026, not the live upstream state.