CVE-2026-22860

Publication date 18 February 2026

Last updated 27 February 2026


Ubuntu priority

Cvss 3 Severity Score

7.5 · High

Score breakdown

Description

Rack is a modular Ruby web server interface. Prior to versions 2.2.22, 3.1.20, and 3.2.5, `Rack::Directory`’s path check used a string prefix match on the expanded path. A request like `/../root_example/` can escape the configured root if the target path starts with the root string, allowing directory listing outside the intended root. Versions 2.2.22, 3.1.20, and 3.2.5 fix the issue.

Status

Package Ubuntu Release Status
ruby-rack 25.10 questing
Fixed 3.1.16-0.1ubuntu0.2
24.04 LTS noble
Fixed 2.2.7-1ubuntu0.6
22.04 LTS jammy
Fixed 2.1.4-5ubuntu1.2+esm2
20.04 LTS focal
Fixed 2.0.7-2ubuntu0.1+esm9
18.04 LTS bionic Ignored changes too intrusive
16.04 LTS xenial Ignored changes too intrusive
14.04 LTS trusty Ignored changes too intrusive

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro 30-day free trial

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
ruby-rack

Severity score breakdown

Parameter Value
Base score 7.5 · High
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Scope Unchanged
Confidentiality High
Integrity impact None
Availability impact None
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References

Related Ubuntu Security Notices (USN)

    • USN-8066-1
    • Rack vulnerabilities
    • 26 February 2026

Other references