Read the docs
TI-2026-18352 Aliases CVE-2026-22860GHSA-mxw3-3hh2-x2mh

Rack has a Directory Traversal via Rack:Directory

Priority MEDIUM 40CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Partial Red Hat: 1 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-22 and the CVSS impact.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00763 55th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial rack (rack): 2.2.22, 3.1.20, 3.2.5rack (RubyGems): 2.2.22, 3.1.20, 3.2.5Red Hat: 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
rackrackbefore 2.2.22; 3.0.0.beta1 to before 3.1.20; 3.2.0 to before 3.2.52.2.22, 3.1.20, 3.2.5Patch availableCNA
—rack (RubyGems)before 2.2.222.2.22Patch availableGHSA-mxw3-3hh2-x2mh
—rack (RubyGems)3.0.0.beta1 to before 3.1.203.1.20Patch availableGHSA-mxw3-3hh2-x2mh
—rack (RubyGems)3.2.0 to before 3.2.53.2.5Patch availableGHSA-mxw3-3hh2-x2mh
  • rack Vendorrack Affected before 2.2.22; 3.0.0.beta1 to before 3.1.20; 3.2.0 to before 3.2.5 Fixed in 2.2.22, 3.1.20, 3.2.5 Patch available CNA
  • rack (RubyGems) Vendor— Affected before 2.2.22 Fixed in 2.2.22 Patch available GHSA-mxw3-3hh2-x2mh
  • rack (RubyGems) Vendor— Affected 3.0.0.beta1 to before 3.1.20 Fixed in 3.1.20 Patch available GHSA-mxw3-3hh2-x2mh
  • rack (RubyGems) Vendor— Affected 3.2.0 to before 3.2.5 Fixed in 3.2.5 Patch available GHSA-mxw3-3hh2-x2mh

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:*before 2.2.22; 3.0.0 to before 3.1.20; 3.2.0 to before 3.2.5Vulnerablerack
  • cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:* Versions before 2.2.22; 3.0.0 to before 3.1.20; 3.2.0 to before 3.2.5 Vulnerable ·rack

Remediation

  • Fix · CNA rack (rack) Fixed in 2.2.22, 3.1.20, 3.2.5
  • Fix · GHSA-mxw3-3hh2-x2mh rack (RubyGems) Fixed in 2.2.22 Advisory →
  • Fix · GHSA-mxw3-3hh2-x2mh rack (RubyGems) Fixed in 3.1.20 Advisory →
  • Fix · GHSA-mxw3-3hh2-x2mh rack (RubyGems) Fixed in 3.2.5 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat 3scale API Management Platform 2AffectedNo fix yet
Not affected: 5 products
  • Logging Subsystem for Red Hat OpenShift
  • Red Hat Enterprise Linux 10
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-22860
  2. 2026-10-03 Alias added: GHSA-mxw3-3hh2-x2mh

References

  • TI-2024-16580 Rack ReDos in content type parsing (2nd degree polynomial) CVSS 3.1HIGH 7.5
  • TI-2024-17236 Possible Denial of Service Vulnerability in Rack Header Parsing CVSS 3.1HIGH 7.5
  • TI-2024-17231 Possible DoS Vulnerability with Range Header in Rack CVSS 3.1HIGH 7.5
  • TI-2023-12254 Uncontrolled resource consumption in https://github.com/rack/rack CVSS 3.1HIGH 7.5
  • TI-2025-38165 Rack's multipart parser buffers unbounded per-part headers, enabling DoS (memory exhaustion) CVSS 3.1HIGH 7.5
  • TI-2025-38163 Rack's unbounded multipart preamble buffering enables DoS (memory exhaustion) CVSS 3.1HIGH 7.5
See all 36 →

Sources