Skip to main content
VulnerabilityPublished Updated

CVE-2026-22860: Ruby rack · Prior to versions 2.2.22, 3.1.20, and 3.2.5, Rack::Directory’s path check used a string

Affects ruby-rackSource GCVE Database

0
Compare

Not known to be exploited · CVSS 7.5 High · fixed in 2.0.7-2ubuntu0.1+esm9 : patch ruby-rack soon.

Data as of 24 Nov 2026, 20:22 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 2.0.7-2ubuntu0.1+esm9, 2.1.4-5ubuntu1.2+esm2, 2.2.7-1ubuntu0.6 +2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 18 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 26.10ruby-rackpkg:deb/ubuntu/ruby-rack?arch=source&distro=stonkingOther threatsAffected
  • <3.2.4-1ubuntu1
Fixed in
  • 3.2.4-1ubuntu1
Ubuntu 26.04 LTSruby-rackpkg:deb/ubuntu/ruby-rack?arch=source&distro=resoluteOther threatsAffected
  • <3.2.4-1ubuntu1
Fixed in
  • 3.2.4-1ubuntu1
Ubuntu 25.10ruby-rackpkg:deb/ubuntu/ruby-rack?arch=source&distro=questingOther threatsAffected
  • <3.1.16-0.1ubuntu0.2
Fixed in
  • 3.1.16-0.1ubuntu0.2
Ubuntu 24.04 LTSruby-rackpkg:deb/ubuntu/ruby-rack?arch=source&distro=nobleOther threatsAffected
  • <2.2.7-1ubuntu0.6
Fixed in
  • 2.2.7-1ubuntu0.6
Ubuntu Pro 22.04 LTSruby-rackpkg:deb/ubuntu/ruby-rack?arch=source&distro=esm-apps/jammyOther threatsAffected
  • 2.1.4-5ubuntu1+esm2 – 2.1.4-5ubuntu1+esm5
  • <2.1.4-5ubuntu1.2+esm2
4 affected builds
Fixed in
  • 2.1.4-5ubuntu1.2+esm2
Ubuntu Pro 20.04 LTSruby-rackpkg:deb/ubuntu/ruby-rack?arch=source&distro=esm-apps/focalOther threatsAffected
  • <2.0.7-2ubuntu0.1+esm9
Fixed in
  • 2.0.7-2ubuntu0.1+esm9

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available and users should update Ruby Rack to versions 2.2.22, 3.1.20, or 3.2.5 or later. For Ubuntu users, apply the security updates provided in USN-8066-1, which include package versions 2.0.7-2ubuntu0.1+esm9, 2.1.4-5ubuntu1.2+esm2, 2.2.7-1ubuntu0.6, 3.1.16-0.1ubuntu0.2, and 3.2.4-1ubuntu1. A standard system update will apply these fixes. Ubuntu Pro users can obtain fixes via ESM Apps.

Description

A path traversal vulnerability exists in Ruby Rack's Rack::Directory component prior to versions 2.2.22, 3.1.20, and 3.2.5. The vulnerability allows crafted requests to escape the configured root directory and access directory listings outside the intended root. This issue is fixed in the specified versions.

References

Community reviews

Loading reviews…