CVE Catalog

CVE-2026-22860

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.67%

48th percentile - higher than 48% of all known CVEs

Summary

A vulnerability in the Rack library allows bypassing directory access restrictions through path manipulation. The `Rack::Directory` path check uses a prefix match, enabling access outside the configured root, e.g., via a request like `/../root_example/`. The issue is fixed in versions 2.2.22, 3.1.20, and 3.2.5.

Risk Assessment

An attacker can list directories outside the intended root, leading to disclosure of sensitive server file structure information.

Recommendation

Immediately update the Rack library to version 2.2.22, 3.1.20, or 3.2.5 depending on the branch in use.

Other vulnerabilities in Rack

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS