Bug 2525875 (CVE-2026-82455) - CVE-2026-82455 rubygems: RubyGems: Path Traversal vulnerability during gem extraction
Summary: CVE-2026-82455 rubygems: RubyGems: Path Traversal vulnerability during gem ex...
Keywords:
Status: NEW
Alias: CVE-2026-82455
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-29 14:01 UTC by OSIDB Bzimport
Modified: 2026-09-29 11:38 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-29 14:01:17 UTC
RubyGems fails to re-validate path containment after filesystem symlink resolution during gem extraction. When a pre-existing symlink inside the destination directory points outside the extraction root, extracted files that appear to be written under the destination directory can instead be written outside of it, breaking the extraction safety boundary. The fix resolves the real path of the parent directory before writing and raises Gem::Package::PathError if it escapes the destination directory.


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