CVE-2026-22860: rack Path Traversal
Vulnerability summary
CVE-2026-22860 is a high (CVSS 7.5) Path Traversal vulnerability in rack. EPSS estimates a 0.76% chance of exploitation in the next 30 days, higher than 54.5% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 4 · 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.76%
Chance of exploitation in the next 30 days
Percentile
55%
Versus all other CVEs
30-day change
+0.09 pp
From 0.68% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundRack
Maturity: poc
Weaknesses
CWE · root cause- CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')The 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
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