En bref
- CVE-2026-85396 est une vulnérabilité ÉLEVÉE (CVSS 7.5) touchant rubyzip.
- Probabilité d'exploitation dans les 30 prochains jours (EPSS) : 0.56%, plus élevée que 46.9% des vulnérabilités.
- Correctif : mettre à jour vers 3.4.0 ou plus récent.
| 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