REDHAT-BUG-2440737: High severity Rack Rack::Directory vulnerability

Published Feb 18, 2026
·
Updated

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 /../rootexample/ 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 Software

1 affected component
Rack Rack::Directory<2.2.22, >=2.2.21<=2.2.21

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Rack::Directory to a version that resolves this vulnerability.

    Fixed in 2.2.22
  2. Upgrade

    Upgrade Rack::Directory to a version that resolves this vulnerability.

    Fixed in 3.1.20
  3. Upgrade

    Upgrade Rack::Directory to a version that resolves this vulnerability.

    Fixed in 3.2.5

Event History

Feb 18, 2026
Data Sourced
via Red Hat·08:02 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2440737?

The severity of REDHAT-BUG-2440737 is high, rated at 7.

2

How do I fix REDHAT-BUG-2440737?

To fix REDHAT-BUG-2440737, upgrade Rack to versions 2.2.22, 3.1.20, or 3.2.5 or later.

3

What is the risk associated with REDHAT-BUG-2440737?

The risk associated with REDHAT-BUG-2440737 is rated at 33.

4

What does REDHAT-BUG-2440737 affect?

REDHAT-BUG-2440737 affects the Rack web server interface, specifically the Rack::Directory component.

5

What type of vulnerability is REDHAT-BUG-2440737?

REDHAT-BUG-2440737 is a path traversal vulnerability that allows directory escaping.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203