Bug 2528457 - CVE-2026-85396 rubygem-rubyzip: rubyzip: Arbitrary file write via path traversal [fedora-all]
Summary: CVE-2026-85396 rubygem-rubyzip: rubyzip: Arbitrary file write via path traver...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: rubygem-rubyzip
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Vít Ondruch
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["e24cb521-61e7-4f33-ba32-0...
Depends On:
Blocks: CVE-2026-85396
TreeView+ depends on / blocked
 
Reported: 2026-09-04 10:08 UTC by Marian Rehak
Modified: 2026-09-04 10:08 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Marian Rehak 2026-09-04 10:08:50 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.


Note You need to log in before you can comment on or make changes to this bug.