Vulnerability in Ruby Rubygems
CVE-2026-82455
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.
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H.
Affected products
Weakness classification (CWE)
References
- disclosure@vulncheck.com (issue-tracking, patch)
- disclosure@vulncheck.com (patch)
- disclosure@vulncheck.com (product)
- disclosure@vulncheck.com (third-party-advisory)
Frequently asked questions
- What is CVE-2026-82455?
- CVE-2026-82455 is a high-severity vulnerability in Ruby Rubygems, classified under Improper Link Resolution Before File Access. CVSS score: 7.1/10. Published 2026-08-29.
- How severe is CVE-2026-82455?
- High severity. CVSS v3 base score is 7.1 out of 10.