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.
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-mxw3-3hh2-x2mh Rack has a Directory Traversal via Rack:Directory
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Thu, 19 Feb 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


Thu, 19 Feb 2026 10:30:00 +0000

Type Values Removed Values Added
First Time appeared Rack
Rack rack
Vendors & Products Rack
Rack rack

Wed, 18 Feb 2026 20:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 18 Feb 2026 19:15:00 +0000

Type Values Removed Values Added
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.
Title Rack has a Directory Traversal via Rack:Directory
Weaknesses CWE-22
CWE-548
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-02-18T19:28:38.445Z

Reserved: 2026-01-12T16:20:16.746Z

Link: CVE-2026-22860

cve-icon Vulnrichment

Updated: 2026-02-18T19:28:26.018Z

cve-icon NVD

Status : Received

Published: 2026-02-18T19:21:43.933

Modified: 2026-02-18T19:21:43.933

Link: CVE-2026-22860

cve-icon Redhat

Severity : Important

Publid Date: 2026-02-18T18:45:02Z

Links: CVE-2026-22860 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-02-19T10:11:28Z

Weaknesses