rubyzip before 3.4.0 Path Traversal in Zip::Entry#extract via Sibling-Directory Prefix
CVE-2026-85396 is fixed in ruby-zip on 1 platform by DEBIAN-CVE-2026-85396 (version 3.4.0+dfsg-1), released September 4, 2026. It is not reported as exploited. Patch Radar priority: High.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| ruby-zip · Debian 14 | 3.4.0+dfsg-1 | DEBIAN-CVE-2026-85396 | Sep 4, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.