CVE-2026-85396: rubyzip before 3.4.0 Path Traversal in Zip::Entry#extract via Sibling-Directory Prefix
Telemetry drift only. No threshold crossed and no authority ruling changed.
CVE record, CISA KEV and EPSS as of 2026-12-06.
CVEs like this one computed, by meaning
What to do now held facts and links
- Upgrade to 3.4.0 or later CVE record
- Record your decision, dated and frozen with today's evidence: patch by a date · mitigated by a compensating control · deferred · accepted the risk · not affected
- Check your version against the ranges this record publishes.
What it is stated by the CNA
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.
- weakness
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- affected
- rubyzip
- versions
- No affected-version range in held sources.
- fixed in
- 3.4.0
- fixed by package (from OSV advisories)
- rubyzip (RubyGems): 3.4.0 GHSA-47m2-wp7j-p9vc
- severity
- 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
- assigned by
- VulnCheck
- published
- 2026-09-03
check us github.com github.com github.com github.com
Exploit code held, dated
- exploit code
- None held in the PoC-in-GitHub feed. A public repository changes this brief.
What moved held, dated
| date | EPSS | event |
|---|---|---|
| 4 Sep 2026 | 0.00383 | |
| 28 Sep 2026 | 0.00564 | |
| 1 Dec 2026 | 0.00383 |
3 observations held. A step marked with a scoring model moved because the measurement was replaced, not because the vulnerability changed.
Outside the record model-written, researched, cited
This section reads the record's references and adds cited findings from outside it. It needs an account. Everything above is held facts and is complete without it.
Get started with CVE-2026-85396 (20s setup) Triage in Vesper (no login) · Sign in to add the researched section
What would change this brief held, dated
- CISA KEV
- Not listed in the catalogue we hold. A listing changes this brief.
- exploit probability
- 0.00 on 2026-12-01 (FIRST's EPSS, a probability and not evidence of exploitation). Next band line: 10% (0.10). Crossing a line changes this brief.
- fix
- Held: 3.4.0. A newer fix from the CNA or OSV changes this brief.
How to check this
Every value above is held with two dates: when it was true upstream (as_of) and when we recorded it (tx_from). Re-derive the exploit probability as it stood on any date:
SELECT value, source, source_version, as_of, tx_from
FROM volatile_valid_as_of('CVE-2026-85396', '2026-12-06T23:59:59.999999Z', now());