Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
ruby rubygems
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

RubyGems 在 gem 解包过程中,未在文件系统符号链接解析后重新验证路径包含性。当目标目录中已存在的符号链接指向解包根目录之外时,看似写入目标目录的提取文件实际可能被写入目标目录之外,从而打破了解包的安全边界。该修复方案在写入前解析父目录的真实路径,如果检测到路径逃逸出目标目录,则抛出 。

CVSS 7.1 · High EPSS 0.14% · P4

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 1

VendorProduct Version RangeStatus
ruby rubygems 3.2.30< 4.0.13 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-82455

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
RubyGems before 4.0.13 Path Traversal via Symlink Resolution
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
在文件访问前对链接解析不恰当(链接跟随)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
ruby rubygems 3.2.30 ~ 4.0.13 -

II. Public POCs for CVE-2026-82455

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-82455

登录查看更多情报信息。

Patches & Fixes for CVE-2026-82455 (2)

Vendor Advisories for CVE-2026-82455 (1)

Vendor Pages for CVE-2026-82455 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-82455

No comments yet


Leave a comment