Advisory record · GHSA-47m2-wp7j-p9vc

rubyzip path traversal vulnerability

CVSS 8.7 HighEPSS 0.0056 · 47th percentile

Published by the GitHub Advisory Database at 3 Sept 2026, 21:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
rubyzipRubyGems<3.4.03.4.0
Identifiers
GHSA-47m2-wp7j-p9vc · CVE-2026-85396
Weakness (CWE)
CWE-22
Published
3 Sept 2026
Updated
25 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

rubyzip versions before 3.4.0 are vulnerable to path traversal in Zip::Entry#extract, which checks extraction paths by prefix comparison without a trailing separator. An attacker who can supply a crafted zip archive can write files to sibling directories that share the destination's name prefix, outside the intended extraction directory. Upgrade to rubyzip 3.4.0 or later.

Written 3 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.7 High 4.0 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 CNA (VulnCheck)
  • CISA KEV Not listed.
  • EPSS 0.0056, the 47th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:21 UTC First seen by agentprime
  2. 31 Oct 2026, 14:21 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.