CVE-2026-22860: Rack has a Directory Traversal via Rack:Directory
Vulnerability summary
CVE-2026-22860 is a high (CVSS 7.5) vulnerability in rack. EPSS estimates a 0.78% chance of exploitation in the next 30 days, higher than 57.2% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 5 · Related 3Timeline
- 18-02-2026PublishedVulnerability first disclosed.
- 15-07-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · RubygemsEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
0.78%
Chance of exploitation in the next 30 days
Percentile
57%
Versus all other CVEs
30-day change
Increase +0.02 pp
From 0.76% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundRack
Maturity: poc
Weaknesses
CWE · root cause- CWE-22Improper Limitation of a Pathname to a Restricted DirectoryThe product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
- CWE-548Exposure of Information Through Directory ListingThe product inappropriately exposes a directory listing with an index of all the resources located inside of the directory.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard64 products
- gitlab-exporter-18.6< 18.6.6-r1
- gitlab-exporter-18.7< 18.7.4-r1
- gitlab-exporter-18.8< 18.8.4-r1
- gitlab-rails-ce-18.1< 18.1.6-r13
- gitlab-rails-ce-18.2All versions (No fix recorded)
Wolfi12 products
- kube-fluentd-operator< 1.18.2-r60
- logstash-9.3< 9.3.1-r1
- logstash-9.3-iamguarded-compat< 9.3.1-r1
- logstash-9.3-with-output-opensearch< 9.3.1-r1
- ruby3.2-rack-2.2< 2.2.22-r0
Debian1 product
- ruby-rack< 2.2.22-0+deb12u1 | < 3.1.20-0+deb13u1 | < 3.2.5-1
Rack1 product
- rack≥ 3.0.0.beta1, < 3.1.20 | < 2.2.22 | ≥ 3.0.0, < 3.1.20 | ≥ 3.2.0, < 3.2.5
RubyGems1 product
- rack< 2.2.22 | ≥ 3.0.0.beta1, < 3.1.20 | ≥ 3.2.0, < 3.2.5
Ubuntu1 product
- ruby-rackAll versions (No fix recorded) | < 2.0.7-2ubuntu0.1+esm9 | < 2.1.4-5ubuntu1.2+esm2 | < 2.2.7-1ubuntu0.6 | < 3.1.16-0.1ubuntu0.2 | < 3.2.4-1ubuntu1
6 vendors · 80 products
References
13 links- github.com/rack/rack/security/advisories/GHSA-mxw3-3hh2-x2mhX Refsource CONFIRMREPORTAdvisoryWEBExploitMitigationVendor Advisory
Show all 13 references
- github.com/rack/rackPACKAGE