PT-2026-85229
CVE-2026-85396
·
Published
2026-09-03
·
Updated
2026-11-10
Description by
CVSS 4.0
8.7
HighMetricsAV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions
rubyzip versions prior to 3.4.0
Description
An issue exists in the
Zip::Entry#extract function that allows for path traversal. The software fails to properly validate extraction paths when using prefix comparison without trailing separators. This allows an attacker to craft archive entries with names such as ../upload backup/owned.sh to write files outside the intended extraction directory into sibling paths that share the destination prefix.Recommendations
Update rubyzip to version 3.4.0 or later.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾