7.5

CVE-2026-22860

Exploit

Rack has a Directory Traversal via Rack:Directory

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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
RackRack SwPlatformruby Version < 2.2.22
RackRack SwPlatformruby Version >= 3.0.0 < 3.1.20
RackRack SwPlatformruby Version >= 3.2.0 < 3.2.5
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.67% 0.471
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
security-advisories@github.com 7.5 3.9 3.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
0b0ca135-0b70-47e7-9f44-1890c2a1c46c 7.5 3.9 3.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

CWE-548 Exposure of Information Through Directory Listing

The product inappropriately exposes a directory listing with an index of all the resources located inside of the directory.

https://github.com/rack/rack/security/advisories/GHSA-mxw3-3hh2-x2mh
Vendor Advisory
Exploit
Mitigation
https://github.com/rack/rack/commit/75c5745c286637a8f049a33790c71237762069e7
Patch
https://access.redhat.com/security/cve/CVE-2026-22860
https://bugzilla.redhat.com/show_bug.cgi?id=2440737
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-22860.json