ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2026-85396

No fix available CVE-2026-85396

Details

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.

Affected packages

EcosystemPackageAffected versions
Ubuntu:16.04:LTSruby-zip
All versions, no fix listed
Ubuntu:18.04:LTSruby-zip
All versions, no fix listed
Ubuntu:20.04:LTSruby-zip
All versions, no fix listed
Ubuntu:22.04:LTSruby-zip
All versions, no fix listed
Ubuntu:24.04:LTSruby-zip
All versions, no fix listed
Ubuntu:26.04:LTSruby-zip
All versions, no fix listed

References