{"cve":"CVE-2026-22860","nvd":{"published":"2026-02-18T19:21:43.933","modified":"2026-07-15T02:18:39.003","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-22","CWE-548"],"references":["https://github.com/rack/rack/commit/75c5745c286637a8f049a33790c71237762069e7","https://github.com/rack/rack/security/advisories/GHSA-mxw3-3hh2-x2mh","https://access.redhat.com/security/cve/CVE-2026-22860","https://bugzilla.redhat.com/show_bug.cgi?id=2440737","https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-22860.json"],"products":["rack:rack"],"source":"nvd","synced_at":"2026-10-19T22:23:35.260773158+00:00"},"epss":{"cve":"CVE-2026-22860","score":0.00763,"percentile":0.55385,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-mxw3-3hh2-x2mh","url":"https://osv.dev/vulnerability/GHSA-mxw3-3hh2-x2mh","summary":"Rack has a Directory Traversal via Rack:Directory","modified":"2026-09-10T03:50:35.448280027Z","packages":[{"ecosystem":"RubyGems","name":"rack","purl":"pkg:gem/rack","ranges":["<2.2.22"],"fixed":["2.2.22"]},{"ecosystem":"RubyGems","name":"rack","purl":"pkg:gem/rack","ranges":[">=3.0.0.beta1 <3.1.20"],"fixed":["3.1.20"]},{"ecosystem":"RubyGems","name":"rack","purl":"pkg:gem/rack","ranges":[">=3.2.0 <3.2.5"],"fixed":["3.2.5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}