CVE-2026-85396

HIGH CVSS 4.0: 8.7 EPSS 0.56%
Updated Sep 24, 2026
Rubyzip_Project
Parameter Value
CVSS 8.7 (HIGH)
Affected Versions before 3.4.0
Fixed In 3.4.0
Type CWE-22 (Path Traversal)
Vendor Rubyzip_Project
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Rubyzip_Project Rubyzip
cpe:2.3:a:rubyzip_project:rubyzip:*:*:*:*:*:*:*:*
— 3.4.0