VULNERABILITY INTELLIGENCE
CVE-2026-85396
CVSS score7.5 HIGH
EPSS probability0.56%
CISA KEVNot currently listed
Published2026-09-03
Last modified2026-09-24
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
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.
Weakness classification
- disclosure@vulncheck.com: CWE-22