Azure Linux Advisory
AZL-99087
CVE-2026-85396 affecting package rubygem-rubyzip 2.3.2-1
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Azure Linux:3 | rubygem-rubyzip | All versions up to and including 2.3.2-1 |