Bug 2440737 (CVE-2026-22860) - CVE-2026-22860 rubygem-rack: Rack Directory Traversal via Rack:Directory
Summary: CVE-2026-22860 rubygem-rack: Rack Directory Traversal via Rack:Directory
Keywords:
Status: NEW
Alias: CVE-2026-22860
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-02-18 20:02 UTC by OSIDB Bzimport
Modified: 2026-02-18 22:58 UTC (History)
13 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-02-18 20:02:55 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.