Security mailing lists by PureSourceCode

CVE-2026-22860

HIGH 7.5CVSS 3.1

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.

Published
18 Feb 2026
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-22CWE-548
Also known as
GHSA-mxw3-3hh2-x2mh
Sources
NVDJSONOSV GHSA-mxw3-3hh2-x2mhJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD rack rack
cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:*
< 2.2.22 2.2.22
NVD rack rack
cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:*
>= 3.0.0, < 3.1.20 3.1.20
NVD rack rack
cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:*
>= 3.2.0, < 3.2.5 3.2.5
OSV RubyGems rack < 2.2.22 2.2.22
OSV RubyGems rack >= 3.0.0.beta1, < 3.1.20 3.1.20
OSV RubyGems rack >= 3.2.0, < 3.2.5 3.2.5

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 18 Feb 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 17 Feb 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.