Em resumo
- CVE-2026-85396 é uma vulnerabilidade ALTO (CVSS 7.5) que afeta rubyzip.
- Chance de exploração nos próximos 30 dias (EPSS): 0.56%, maior que 46.9% das vulnerabilidades.
- Correção: atualize para 3.4.0 ou posterior.
| 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