Rubyzip vulnerabilities
Published CVEs affecting Rubyzip products: 1 record(s), with severity, exploitation and fixes.
CVE-2026-85396
High · 7.5
CWE-22 Sep 3, 2026
rubyzip before 3.4.0 Path Traversal in Zip::Entry#extract via Sibling-Directory Prefix
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.