CVE-2026-85396
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.
Published:Sep 3, 2026
Last Modified:Sep 4, 2026
EPS:Sep 3, 2026
EPSS Score:0.00383
CVSS Score:7.5
Affected Products
Vendor
Product
Action
Vendor
Rubyzip
Product
Rubyzip
Rubyzip
Rubyzip
Vendor
Rubyzip Project
Product
Rubyzip
Rubyzip Project
Rubyzip
Exploits
No exploit reference
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
References
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
