CVE-2026-142593
Published:December 02, 2026
Updated:December 03, 2026
Rack is a modular Ruby web server interface. From 2.2.0 until 2.2.26, 3.1.24, and 3.2.9, Rack::Directory#get checks a path containing dot-dot segments with File.expand_path but then passes the original unnormalized path to File.stat and Dir.foreach instead of first applying Utils.clean_path_info. Earlier Rack versions reject every path containing dot-dot and are not affected. When a directory beneath the served root is a symbolic link followed by .., the operating system resolves the link before applying the dot-dot segment, allowing an unauthenticated request to list the target's parent or siblings outside the root. The disclosure is limited to directory entry names, sizes, and modification times because Rack::Files normalizes paths before serving file contents. This issue is fixed in versions 2.2.26, 3.1.24, and 3.2.9.
Affected Packages
https://github.com/rack/rack.git (GITHUB):
Affected version(s) >=v3.2.0 <v3.2.9Fix Suggestion:
Update to version v3.2.9https://github.com/rack/rack.git (GITHUB):
Affected version(s) >=3.0.0.beta1 <v3.1.24 || >=v3.0.1 <v3.1.24Fix Suggestion:
Update to version v3.1.24https://github.com/rack/rack.git (GITHUB):
Affected version(s) >=2.2.0 <v2.2.26 || >=v2.2.1 <v2.2.26Fix Suggestion:
Update to version v2.2.26rack (RUBY):
Affected version(s) >=3.2.0 <3.2.9Fix Suggestion:
Update to version 3.2.9rack (RUBY):
Affected version(s) >=2.2.0 <2.2.26Fix Suggestion:
Update to version 2.2.26rack (RUBY):
Affected version(s) >=3.0.0.beta1 <3.1.24Fix Suggestion:
Update to version 3.1.24Related ResourcesĀ (10)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE