p PatchFirst

CVE-2026-82455

CVE-2026-82455 · DEBIAN-CVE-2026-82455

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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 6.9 · Medium · Fix available

Published
Updated

Stack: system

Affected products and versions

  • rubygems Debian:12

    Versions
    • 3.3.15-2
    • 3.3.15-2+deb12u1
    • 3.4.20-1
    • 3.4.20-1~0
    • 3.6.3-1
    • 3.6.6-1
    • 3.6.7-1
    • 3.6.7-2
    • 3.6.7-3~exp1
    • 4.0.15-1
    • 4.0.15-2
    • 4.0.18-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • rubygems Debian:13

    Versions
    • 3.6.7-2
    • 3.6.7-3~exp1
    • 4.0.15-1
    • 4.0.15-2
    • 4.0.18-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • rubygems Debian:14

    Versions
    • 3.6.7-2
    • 3.6.7-3~exp1
    • 4.0.15-1
    Affected ranges
    • ECOSYSTEM: < 4.0.15-2

    Update to 4.0.15-2

Original sources

Check your server →