Directory Traversal Affecting ruby-rack package, versions *


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.07% (21st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIANUNSTABLE-RUBYRACK-15309423
  • published19 Feb 2026
  • disclosed18 Feb 2026

Introduced: 18 Feb 2026

NewCVE-2026-22860  (opens in a new tab)
CWE-22  (opens in a new tab)
CWE-548  (opens in a new tab)

How to fix?

There is no fixed version for Debian:unstable ruby-rack.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby-rack package and not the ruby-rack package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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 Base Scores

version 3.1