Path Traversal in Rack
CVE-2026-22860
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…
Vulnerability class: Path Traversal (Directory Traversal)
EPSS: 0.001 (31.0th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
Affected products
- Rack — versions < 2.2.22, >= 3.0.0.beta1, < 3.1.20, >= 3.2.0, < 3.2.5
Weakness classification (CWE)
References
- https://github.com/rack/rack/security/advisories/GHSA-mxw3-3hh2-x2mh (x_refsource_CONFIRM)
- https://github.com/rack/rack/commit/75c5745c286637a8f049a33790c71237762069e7 (x_refsource_MISC)
Frequently asked questions
- What is CVE-2026-22860?
- CVE-2026-22860 is a high-severity vulnerability in Rack, classified under Path Traversal. CVSS score: 7.5/10. Published 2026-02-18.
- How severe is CVE-2026-22860?
- High severity. CVSS v3 base score is 7.5 out of 10.