Skip to content
7.5 High

CVE-2026-22860 Rack is a modular Ruby web server interface

Description

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.

Affected products and versions

Product Affected versions Fixed in
Red Hat 3scale API Management Platform 2 Versions not published
Logging Subsystem for Red Hat OpenShift Versions not published
Red Hat Enterprise Linux 10 Versions not published
Red Hat Enterprise Linux 7 Versions not published
Red Hat Enterprise Linux 8 Versions not published
Red Hat Enterprise Linux 9 Versions not published
Rack 3.2 3.2.0 → < 3.2.5 3.2.5
Rack 3.0 3.0.0.beta1 → < 3.1.20 3.1.20
Rack 2.2 earliest → < 2.2.22 2.2.22

References

Timeline

  1. Published
  2. Last modified
The 65 CVEs of Red Hat 3scale API Management Platform 2 →
Track this CVE