# CVE-2026-82455: RubyGems before 4.0.13 Path Traversal via Symlink Resolution

CVE-2026-82455 is fixed in 69 products on 1 platform, first by DEBIAN-CVE-2026-82455, released September 10, 2026. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2026-82455
- Priority: High
- CVSS: 7.1 (Moderate)
- EPSS: n/a
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Aug 29, 2026
- Weakness: Improper Link Resolution Before File Access ('Link Following')
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-82455

## Description

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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | ruby3.4 amzn 2023 | 3.4.12-27.amzn2023.0.8 | [ALAS2023-2026-3413](https://patchblox.com/security/data/fix/linux/alas2023-2026-3413.md) | Nov 10, 2026 |
| Linux | ruby3.4-bundled-gems amzn 2023 | 3.4.12-27.amzn2023.0.8 | [ALAS2023-2026-3413](https://patchblox.com/security/data/fix/linux/alas2023-2026-3413.md) | Nov 10, 2026 |
| Linux | ruby3.4-bundled-gems-debuginfo amzn 2023 | 3.4.12-27.amzn2023.0.8 | [ALAS2023-2026-3413](https://patchblox.com/security/data/fix/linux/alas2023-2026-3413.md) | Nov 10, 2026 |
| Linux | ruby3.4-debuginfo amzn 2023 | 3.4.12-27.amzn2023.0.8 | [ALAS2023-2026-3413](https://patchblox.com/security/data/fix/linux/alas2023-2026-3413.md) | Nov 10, 2026 |
| Linux | ruby3.4-debugsource amzn 2023 | 3.4.12-27.amzn2023.0.8 | [ALAS2023-2026-3413](https://patchblox.com/security/data/fix/linux/alas2023-2026-3413.md) | Nov 10, 2026 |
| Linux | ruby3.4-default-gems amzn 2023 | 3.4.12-27.amzn2023.0.8 | [ALAS2023-2026-3413](https://patchblox.com/security/data/fix/linux/alas2023-2026-3413.md) | Nov 10, 2026 |
| Linux | ruby3.4-devel amzn 2023 | 3.4.12-27.amzn2023.0.8 | [ALAS2023-2026-3413](https://patchblox.com/security/data/fix/linux/alas2023-2026-3413.md) | Nov 10, 2026 |
| Linux | ruby3.4-doc amzn 2023 | 3.4.12-27.amzn2023.0.8 | [ALAS2023-2026-3413](https://patchblox.com/security/data/fix/linux/alas2023-2026-3413.md) | Nov 10, 2026 |
| Linux | ruby3.4-libs amzn 2023 | 3.4.12-27.amzn2023.0.8 | [ALAS2023-2026-3413](https://patchblox.com/security/data/fix/linux/alas2023-2026-3413.md) | Nov 10, 2026 |
| Linux | ruby3.4-libs-debuginfo amzn 2023 | 3.4.12-27.amzn2023.0.8 | [ALAS2023-2026-3413](https://patchblox.com/security/data/fix/linux/alas2023-2026-3413.md) | Nov 10, 2026 |
| Linux | ruby3.4-rubygem-bigdecimal amzn 2023 | 3.1.8-27.amzn2023.0.8 | [ALAS2023-2026-3413](https://patchblox.com/security/data/fix/linux/alas2023-2026-3413.md) | Nov 10, 2026 |
| Linux | ruby3.4-rubygem-bigdecimal-debuginfo amzn 2023 | 3.1.8-27.amzn2023.0.8 | [ALAS2023-2026-3413](https://patchblox.com/security/data/fix/linux/alas2023-2026-3413.md) | Nov 10, 2026 |
| Linux | ruby3.4-rubygem-bundler amzn 2023 | 2.6.9-27.amzn2023.0.8 | [ALAS2023-2026-3413](https://patchblox.com/security/data/fix/linux/alas2023-2026-3413.md) | Nov 10, 2026 |
| Linux | ruby3.4-rubygem-io-console amzn 2023 | 0.8.1-27.amzn2023.0.8 | [ALAS2023-2026-3413](https://patchblox.com/security/data/fix/linux/alas2023-2026-3413.md) | Nov 10, 2026 |
| Linux | ruby3.4-rubygem-io-console-debuginfo amzn 2023 | 0.8.1-27.amzn2023.0.8 | [ALAS2023-2026-3413](https://patchblox.com/security/data/fix/linux/alas2023-2026-3413.md) | Nov 10, 2026 |
| Linux | ruby3.4-rubygem-irb amzn 2023 | 1.14.3-27.amzn2023.0.8 | [ALAS2023-2026-3413](https://patchblox.com/security/data/fix/linux/alas2023-2026-3413.md) | Nov 10, 2026 |
| Linux | ruby3.4-rubygem-json amzn 2023 | 2.9.1-27.amzn2023.0.8 | [ALAS2023-2026-3413](https://patchblox.com/security/data/fix/linux/alas2023-2026-3413.md) | Nov 10, 2026 |
| Linux | ruby3.4-rubygem-json-debuginfo amzn 2023 | 2.9.1-27.amzn2023.0.8 | [ALAS2023-2026-3413](https://patchblox.com/security/data/fix/linux/alas2023-2026-3413.md) | Nov 10, 2026 |
| Linux | ruby3.4-rubygem-minitest amzn 2023 | 5.25.4-27.amzn2023.0.8 | [ALAS2023-2026-3413](https://patchblox.com/security/data/fix/linux/alas2023-2026-3413.md) | Nov 10, 2026 |
| Linux | ruby3.4-rubygem-power_assert amzn 2023 | 2.0.5-27.amzn2023.0.8 | [ALAS2023-2026-3413](https://patchblox.com/security/data/fix/linux/alas2023-2026-3413.md) | Nov 10, 2026 |
| Linux | ruby3.4-rubygem-psych amzn 2023 | 5.2.2-27.amzn2023.0.8 | [ALAS2023-2026-3413](https://patchblox.com/security/data/fix/linux/alas2023-2026-3413.md) | Nov 10, 2026 |
| Linux | ruby3.4-rubygem-psych-debuginfo amzn 2023 | 5.2.2-27.amzn2023.0.8 | [ALAS2023-2026-3413](https://patchblox.com/security/data/fix/linux/alas2023-2026-3413.md) | Nov 10, 2026 |
| Linux | ruby3.4-rubygem-racc amzn 2023 | 1.8.1-27.amzn2023.0.8 | [ALAS2023-2026-3413](https://patchblox.com/security/data/fix/linux/alas2023-2026-3413.md) | Nov 10, 2026 |
| Linux | ruby3.4-rubygem-racc-debuginfo amzn 2023 | 1.8.1-27.amzn2023.0.8 | [ALAS2023-2026-3413](https://patchblox.com/security/data/fix/linux/alas2023-2026-3413.md) | Nov 10, 2026 |
| Linux | ruby3.4-rubygem-rake amzn 2023 | 13.2.1-27.amzn2023.0.8 | [ALAS2023-2026-3413](https://patchblox.com/security/data/fix/linux/alas2023-2026-3413.md) | Nov 10, 2026 |
| Linux | ruby3.4-rubygem-rbs amzn 2023 | 3.8.0-27.amzn2023.0.8 | [ALAS2023-2026-3413](https://patchblox.com/security/data/fix/linux/alas2023-2026-3413.md) | Nov 10, 2026 |
| Linux | ruby3.4-rubygem-rbs-debuginfo amzn 2023 | 3.8.0-27.amzn2023.0.8 | [ALAS2023-2026-3413](https://patchblox.com/security/data/fix/linux/alas2023-2026-3413.md) | Nov 10, 2026 |
| Linux | ruby3.4-rubygem-rdoc amzn 2023 | 6.14.0-27.amzn2023.0.8 | [ALAS2023-2026-3413](https://patchblox.com/security/data/fix/linux/alas2023-2026-3413.md) | Nov 10, 2026 |
| Linux | ruby3.4-rubygem-rexml amzn 2023 | 3.4.4-27.amzn2023.0.8 | [ALAS2023-2026-3413](https://patchblox.com/security/data/fix/linux/alas2023-2026-3413.md) | Nov 10, 2026 |
| Linux | ruby3.4-rubygem-rss amzn 2023 | 0.3.1-27.amzn2023.0.8 | [ALAS2023-2026-3413](https://patchblox.com/security/data/fix/linux/alas2023-2026-3413.md) | Nov 10, 2026 |
| Linux | ruby3.4-rubygem-test-unit amzn 2023 | 3.6.7-27.amzn2023.0.8 | [ALAS2023-2026-3413](https://patchblox.com/security/data/fix/linux/alas2023-2026-3413.md) | Nov 10, 2026 |
| Linux | ruby3.4-rubygem-typeprof amzn 2023 | 0.30.1-27.amzn2023.0.8 | [ALAS2023-2026-3413](https://patchblox.com/security/data/fix/linux/alas2023-2026-3413.md) | Nov 10, 2026 |
| Linux | ruby3.4-rubygems amzn 2023 | 3.6.9-27.amzn2023.0.8 | [ALAS2023-2026-3413](https://patchblox.com/security/data/fix/linux/alas2023-2026-3413.md) | Nov 10, 2026 |
| Linux | ruby3.4-rubygems-devel amzn 2023 | 3.6.9-27.amzn2023.0.8 | [ALAS2023-2026-3413](https://patchblox.com/security/data/fix/linux/alas2023-2026-3413.md) | Nov 10, 2026 |
| Linux | ruby4.0 amzn 2023 | 4.0.1-32.amzn2023.0.5 | [ALAS2023-2026-3400](https://patchblox.com/security/data/fix/linux/alas2023-2026-3400.md) | Nov 10, 2026 |
| Linux | ruby4.0-bundled-gems amzn 2023 | 4.0.1-32.amzn2023.0.5 | [ALAS2023-2026-3400](https://patchblox.com/security/data/fix/linux/alas2023-2026-3400.md) | Nov 10, 2026 |
| Linux | ruby4.0-bundled-gems-debuginfo amzn 2023 | 4.0.1-32.amzn2023.0.5 | [ALAS2023-2026-3400](https://patchblox.com/security/data/fix/linux/alas2023-2026-3400.md) | Nov 10, 2026 |
| Linux | ruby4.0-debuginfo amzn 2023 | 4.0.1-32.amzn2023.0.5 | [ALAS2023-2026-3400](https://patchblox.com/security/data/fix/linux/alas2023-2026-3400.md) | Nov 10, 2026 |
| Linux | ruby4.0-debugsource amzn 2023 | 4.0.1-32.amzn2023.0.5 | [ALAS2023-2026-3400](https://patchblox.com/security/data/fix/linux/alas2023-2026-3400.md) | Nov 10, 2026 |
| Linux | ruby4.0-default-gems amzn 2023 | 4.0.1-32.amzn2023.0.5 | [ALAS2023-2026-3400](https://patchblox.com/security/data/fix/linux/alas2023-2026-3400.md) | Nov 10, 2026 |
| Linux | ruby4.0-devel amzn 2023 | 4.0.1-32.amzn2023.0.5 | [ALAS2023-2026-3400](https://patchblox.com/security/data/fix/linux/alas2023-2026-3400.md) | Nov 10, 2026 |
| Linux | ruby4.0-doc amzn 2023 | 4.0.1-32.amzn2023.0.5 | [ALAS2023-2026-3400](https://patchblox.com/security/data/fix/linux/alas2023-2026-3400.md) | Nov 10, 2026 |
| Linux | ruby4.0-libs amzn 2023 | 4.0.1-32.amzn2023.0.5 | [ALAS2023-2026-3400](https://patchblox.com/security/data/fix/linux/alas2023-2026-3400.md) | Nov 10, 2026 |
| Linux | ruby4.0-libs-debuginfo amzn 2023 | 4.0.1-32.amzn2023.0.5 | [ALAS2023-2026-3400](https://patchblox.com/security/data/fix/linux/alas2023-2026-3400.md) | Nov 10, 2026 |
| Linux | ruby4.0-rubygem-bigdecimal amzn 2023 | 4.0.1-32.amzn2023.0.5 | [ALAS2023-2026-3400](https://patchblox.com/security/data/fix/linux/alas2023-2026-3400.md) | Nov 10, 2026 |
| Linux | ruby4.0-rubygem-bigdecimal-debuginfo amzn 2023 | 4.0.1-32.amzn2023.0.5 | [ALAS2023-2026-3400](https://patchblox.com/security/data/fix/linux/alas2023-2026-3400.md) | Nov 10, 2026 |
| Linux | ruby4.0-rubygem-bundler amzn 2023 | 4.0.3-32.amzn2023.0.5 | [ALAS2023-2026-3400](https://patchblox.com/security/data/fix/linux/alas2023-2026-3400.md) | Nov 10, 2026 |
| Linux | ruby4.0-rubygem-io-console amzn 2023 | 0.8.2-32.amzn2023.0.5 | [ALAS2023-2026-3400](https://patchblox.com/security/data/fix/linux/alas2023-2026-3400.md) | Nov 10, 2026 |
| Linux | ruby4.0-rubygem-io-console-debuginfo amzn 2023 | 0.8.2-32.amzn2023.0.5 | [ALAS2023-2026-3400](https://patchblox.com/security/data/fix/linux/alas2023-2026-3400.md) | Nov 10, 2026 |
| Linux | ruby4.0-rubygem-irb amzn 2023 | 1.16.0-32.amzn2023.0.5 | [ALAS2023-2026-3400](https://patchblox.com/security/data/fix/linux/alas2023-2026-3400.md) | Nov 10, 2026 |
| Linux | ruby4.0-rubygem-json amzn 2023 | 2.18.0-32.amzn2023.0.5 | [ALAS2023-2026-3400](https://patchblox.com/security/data/fix/linux/alas2023-2026-3400.md) | Nov 10, 2026 |
| Linux | ruby4.0-rubygem-json-debuginfo amzn 2023 | 2.18.0-32.amzn2023.0.5 | [ALAS2023-2026-3400](https://patchblox.com/security/data/fix/linux/alas2023-2026-3400.md) | Nov 10, 2026 |
| Linux | ruby4.0-rubygem-minitest amzn 2023 | 6.0.0-32.amzn2023.0.5 | [ALAS2023-2026-3400](https://patchblox.com/security/data/fix/linux/alas2023-2026-3400.md) | Nov 10, 2026 |
| Linux | ruby4.0-rubygem-power_assert amzn 2023 | 3.0.1-32.amzn2023.0.5 | [ALAS2023-2026-3400](https://patchblox.com/security/data/fix/linux/alas2023-2026-3400.md) | Nov 10, 2026 |
| Linux | ruby4.0-rubygem-psych amzn 2023 | 5.3.1-32.amzn2023.0.5 | [ALAS2023-2026-3400](https://patchblox.com/security/data/fix/linux/alas2023-2026-3400.md) | Nov 10, 2026 |
| Linux | ruby4.0-rubygem-psych-debuginfo amzn 2023 | 5.3.1-32.amzn2023.0.5 | [ALAS2023-2026-3400](https://patchblox.com/security/data/fix/linux/alas2023-2026-3400.md) | Nov 10, 2026 |
| Linux | ruby4.0-rubygem-racc amzn 2023 | 1.8.1-32.amzn2023.0.5 | [ALAS2023-2026-3400](https://patchblox.com/security/data/fix/linux/alas2023-2026-3400.md) | Nov 10, 2026 |
| Linux | ruby4.0-rubygem-racc-debuginfo amzn 2023 | 1.8.1-32.amzn2023.0.5 | [ALAS2023-2026-3400](https://patchblox.com/security/data/fix/linux/alas2023-2026-3400.md) | Nov 10, 2026 |
| Linux | ruby4.0-rubygem-rake amzn 2023 | 13.3.1-32.amzn2023.0.5 | [ALAS2023-2026-3400](https://patchblox.com/security/data/fix/linux/alas2023-2026-3400.md) | Nov 10, 2026 |
| Linux | ruby4.0-rubygem-rbs amzn 2023 | 3.10.0-32.amzn2023.0.5 | [ALAS2023-2026-3400](https://patchblox.com/security/data/fix/linux/alas2023-2026-3400.md) | Nov 10, 2026 |
| Linux | ruby4.0-rubygem-rbs-debuginfo amzn 2023 | 3.10.0-32.amzn2023.0.5 | [ALAS2023-2026-3400](https://patchblox.com/security/data/fix/linux/alas2023-2026-3400.md) | Nov 10, 2026 |
| Linux | ruby4.0-rubygem-rdoc amzn 2023 | 7.0.3-32.amzn2023.0.5 | [ALAS2023-2026-3400](https://patchblox.com/security/data/fix/linux/alas2023-2026-3400.md) | Nov 10, 2026 |
| Linux | ruby4.0-rubygem-rexml amzn 2023 | 3.4.4-32.amzn2023.0.5 | [ALAS2023-2026-3400](https://patchblox.com/security/data/fix/linux/alas2023-2026-3400.md) | Nov 10, 2026 |
| Linux | ruby4.0-rubygem-rss amzn 2023 | 0.3.2-32.amzn2023.0.5 | [ALAS2023-2026-3400](https://patchblox.com/security/data/fix/linux/alas2023-2026-3400.md) | Nov 10, 2026 |
| Linux | ruby4.0-rubygem-test-unit amzn 2023 | 3.7.5-32.amzn2023.0.5 | [ALAS2023-2026-3400](https://patchblox.com/security/data/fix/linux/alas2023-2026-3400.md) | Nov 10, 2026 |
| Linux | ruby4.0-rubygem-typeprof amzn 2023 | 0.31.1-32.amzn2023.0.5 | [ALAS2023-2026-3400](https://patchblox.com/security/data/fix/linux/alas2023-2026-3400.md) | Nov 10, 2026 |
| Linux | ruby4.0-rubygems amzn 2023 | 4.0.3-32.amzn2023.0.5 | [ALAS2023-2026-3400](https://patchblox.com/security/data/fix/linux/alas2023-2026-3400.md) | Nov 10, 2026 |
| Linux | ruby4.0-rubygems-devel amzn 2023 | 4.0.3-32.amzn2023.0.5 | [ALAS2023-2026-3400](https://patchblox.com/security/data/fix/linux/alas2023-2026-3400.md) | Nov 10, 2026 |
| Linux | rubygems Debian 14 | 4.0.15-2 | [DEBIAN-CVE-2026-82455](https://patchblox.com/security/data/fix/linux/debian-cve-2026-82455.md) | Sep 10, 2026 |

---

Data as of 2026-11-11T07:45:43Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
