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

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.