Vulnerability
CVE-2026-22860
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.
136 advisories report this vulnerability, across 7 ecosystems.
Advisories
- CGA-2h9j-5472-2pvm
- CGA-2q76-9jgx-vxgf
- CGA-2x8m-6339-mwfr
- CGA-39mp-2gpf-75jj
- CGA-3c9g-fgr9-8xp6
- CGA-3fxg-hfv5-7pmx
- CGA-3qhg-h28v-w952
- CGA-4jjq-h46w-8g9m
- CGA-4p27-8jg8-5jxw
- CGA-4ph6-m76c-3p28
- CGA-54pm-wgwx-j573
- CGA-5c8r-7g39-w5pv
- CGA-5f62-p65q-2p4w
- CGA-5fgh-fvw6-p5jp
- CGA-5hq7-4v94-fpxq
- CGA-5m7x-66j7-jm7q
- CGA-5wfp-5q8r-fg7f
- CGA-65rf-vwv6-wpqx
- CGA-6frq-mwx7-pc3r
- CGA-6h2h-93xg-hm9r
- CGA-6j2f-8pfp-g484
- CGA-6m99-3pwc-wc9w
- CGA-733g-8f6p-696g
- CGA-759x-r3f4-2638
- CGA-7gvw-xrg8-hphg
- CGA-7m73-xw3x-75jw
- CGA-7r2f-vcqq-mr4w
- CGA-7wvh-fh8f-6fpp
- CGA-7x7j-hjc8-hc6v
- CGA-7xm4-q2xv-jfx2
- CGA-829h-xrfp-j2fx
- CGA-829j-hww9-g8wg
- CGA-848r-2cgw-xv55
- CGA-8g42-q7q5-v697
- CGA-8h3v-5v6r-2945
- CGA-8qw2-3v7f-6pm9
- CGA-8wf4-hg6g-w2p8
- CGA-98mx-m926-p5v7
- CGA-9f7r-wc9m-5vfj
- CGA-9vh5-w5v2-49mc
- CGA-c2p3-p4mf-g857
- CGA-c3hx-fww4-979w
- CGA-c6mr-mmrx-qfrc
- CGA-cf5p-734j-68j9
- CGA-cfh8-w7xr-hwwj
- CGA-cj43-9xjm-8rc9
- CGA-cmvf-38rq-9r22
- CGA-cp5m-x2wh-q732
- CGA-cp76-frj6-f7q6
- CGA-cxfx-g8cr-mxfx
- CGA-f4qh-cchc-wjcf
- CGA-f5px-8827-49j7
- CGA-fh7w-7gcm-6p4m
- CGA-fmvw-27mg-234x
- CGA-fqc3-fc28-wm47
- CGA-frfv-8hwc-r647
- CGA-g2w5-wmhg-g83h
- CGA-g797-f55w-82cm
- CGA-gcr2-8jmj-q575
- CGA-ghqg-qp59-35m4
- CGA-gj6c-xc83-h4pj
- CGA-gr9g-p5f2-gvqg
- CGA-h5q5-gh65-8j2g
- CGA-hhqh-2p7q-pcqr
- CGA-hqq8-x358-2pw7
- CGA-hx5g-c3f3-76m6
- CGA-j5cj-q38v-5xqg
- CGA-j5gm-qmp4-89v2
- CGA-j838-wf79-7gpw
- CGA-j8gm-hw85-f78h
- CGA-jcgv-hmpj-vvgw
- CGA-jf3w-46cg-3x24
- CGA-jf6v-cfjj-pqv4
- CGA-jpxm-pvp3-vj8v
- CGA-m29g-3hp4-324v
- CGA-mgg6-jjx5-89mq
- CGA-mgrm-jjm2-6c44
- CGA-mqm7-gj98-rh29
- CGA-mw63-mpp8-346x
- CGA-p26p-97p2-7hhh
- CGA-p2wm-8h8v-rjqc
- CGA-pcjf-cxhq-mgj6
- CGA-pjph-wrcc-8vc5
- CGA-pm23-mm6c-hhf7
- CGA-pmfw-h4w7-qx2j
- CGA-prxp-98w2-cxhj
- CGA-prxv-hwg6-3vv8
- CGA-q2qf-r7p7-69xx
- CGA-q3x7-hfvq-mq8m
- CGA-q56q-6cr5-p9rv
- CGA-q768-m9j5-5vgg
- CGA-q94v-3xm3-83qp
- CGA-q9jg-xgcj-4ppp
- CGA-qcc2-cwmv-q9gf
- CGA-qh4c-4m35-5jh8
- CGA-qhf9-gjpf-4fvm
- CGA-qm7f-9vv3-53ch
- CGA-qqmp-6jg5-pphx
- CGA-qwxp-v2w7-ggqh
- CGA-r2fq-h82c-jp9p
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2026-22860.
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