Kurz gesagt
- CVE-2026-85396 ist eine Schwachstelle (HOCH (CVSS 7.5)) in rubyzip.
- Wahrscheinlichkeit einer Ausnutzung in den nächsten 30 Tagen (EPSS): 0.56%, höher als bei 46.9% aller Schwachstellen.
- Abhilfe: auf 3.4.0 oder neuer aktualisieren.
| Package | Affected versions | Patched versions |
|---|
| rubyzip RubyGems | < 3.4.0
| 3.4.0
|
Description
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.
NVD description
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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free