Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-22860

Rack has a Directory Traversal via Rack:Directory
Back to all
CVE

CVE-2026-22860

Rack has a Directory Traversal via Rack:Directory

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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
7.5
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
C
H
U
-

Related Resources

No items found.

References

https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22860.json, https://github.com/rack/rack/security/advisories/GHSA-mxw3-3hh2-x2mh, https://nvd.nist.gov/vuln/detail/CVE-2026-22860, https://github.com/rack/rack/commit/75c5745c286637a8f049a33790c71237762069e7

Severity

7.5

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
7.5
EPSS Probability
0.00105%
EPSS Percentile
0.27991%
Introduced Version
0,572a42a705b423ce98ef4e81435d4f60fb0ae53d,b68251c03788ff39d4a4b25424df7360426e4afd
Fix Available
0cc2e00b22dffc33955ef912569f01e515a406e1,65044344e4780d80b409f9ba27df41b6307b5ff5,bb5f3555bd12b9065112353e829298b3b5623ceb,2.2.22-0+deb12u1,2.1.4-3+deb11u5,3.1.20-0+deb13u1,0:2.2.7-1ubuntu0.6,0:2.0.7-2ubuntu0.1+esm9,0:2.1.4-5ubuntu1.2+esm2,18.6.6-r1,18.7.4-r1,18.8.4-r1,18.8.7-r0,18.9.3-r0,1.18.2-r60,8.17.10-r12,8.19.11-r1,9.0.8-r11,9.1.10-r1,9.2.5-r1,9.3.1-r1,7.1.6-r2,7.2.3-r2,8.0.4-r2,8.1.2-r1,2.2.22-r0,8.1.2-r2,7.1.6-r1,8.0.4-r1

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading