CVE-2026-22860

unknown
Published 2026-02-17 · Modified 2026-02-24
CVSS v3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v2
VIR risk

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

Exploit likelihood
30%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2026-22860

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2026-22860.html

OS impact

OSVersionStatusFixed in
suse slesaffected
debian debianbookwormfixed2.2.22-0+deb12u1
debian debianbullseyefixed2.1.4-3+deb11u5
debian debianforkyfixed3.2.5-1
debian debiansidfixed3.2.5-1
debian debiantrixiefixed3.1.20-0+deb13u1

Package impact

EcosystemPackageVulnerableFixed
ruby RubyGemsrack<~> 2.2.22~> 2.2.22
ruby RubyGemsrack<2.2.222.2.22
ruby RubyGemsrack>=3.0.0.beta1,<3.1.203.1.20
ruby RubyGemsrack>=3.2.0,<3.2.53.2.5

References

Verify integrity in audit chain (admin only). AS-IS.