cve.bz

CVE-2026-22860

7.5 highEPSS 0.8%

High (7.5) in rack rack. EPSS 0.8% chance of exploitation in the next 30 days. Fixed in rack 2.2.22, 3.1.20, 3.2.5.

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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
0.8% chance of exploitation in the next 30 days; higher than 55% of CVEs (scores of 2026-10-31)
CWEs
CWE-22, CWE-548
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-mxw3-3hh2-x2mhRubyGemsrack<2.2.222.2.22
GHSA-mxw3-3hh2-x2mhRubyGemsrack>=3.0.0.beta1 <3.1.203.1.20
GHSA-mxw3-3hh2-x2mhRubyGemsrack>=3.2.0 <3.2.53.2.5

References

Check your stackJSON