CVE-2026-82455

Source
https://cve.org/CVERecord?id=CVE-2026-82455
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-82455.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-82455
Downstream
Published
2026-08-29T13:47:56.760Z
Modified
2026-09-01T03:31:04.734239640Z
Severity
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
RubyGems before 4.0.13 Path Traversal via Symlink Resolution
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82455.json",
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
        "CWE-59"
    ]
}
References

Affected packages

Git / github.com/ruby/rubygems

Affected ranges

Type
GIT
Repo
https://github.com/ruby/rubygems
Events
Database specific
Show details
{
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "3.2.30"
        },
        {
            "fixed": "4.0.13"
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-82455.json"