CVE-2026-22860
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 3.1.20-0+deb13u1 |
| sid | Fixed | 3.2.5-1 |
| forky | Fixed | 3.2.5-1 |
| bullseye | Fixed | 2.1.4-3+deb11u5 |
| bookworm | Fixed | 2.2.22-0+deb12u1 |
References
- https://github.com/rack/rack/security/advisories/GHSA-mxw3-3hh2-x2mh
- https://www.suse.com/security/cve/CVE-2026-22860.html
- https://nvd.nist.gov/vuln/detail/CVE-2026-22860
- https://github.com/rack/rack/commit/75c5745c286637a8f049a33790c71237762069e7
- https://github.com/rack/rack
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2026-22860.yml
- https://security-tracker.debian.org/tracker/CVE-2026-22860
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.