PT-2026-83434 · Rubygems · Rubygems

·

CVE-2026-82455

·

Published

2026-08-29

·

Updated

2026-09-20

CVSS v3.1

7.1

High

VectorAV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Name of the Vulnerable Software and Affected Versions RubyGems versions prior to 4.0.13
Description RubyGems fails to re-validate path containment after filesystem symlink resolution during gem extraction. If a pre-existing symlink within the destination directory points outside the extraction root, files can be written outside the intended destination directory, bypassing the extraction safety boundary. This occurs because the system does not properly verify the real path of the parent directory before writing, which can be mitigated by raising a Gem::Package::PathError when the path escapes the destination directory.
Recommendations Update RubyGems to version 4.0.13 or later.

Exploit

Fix

Link Following

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

AZL-98403
CVE-2026-82455
OESA-2026-3864
OESA-2026-3865
OESA-2026-3866
OESA-2026-3867
OESA-2026-3999

Affected Products

Rubygems