PT-2026-166333
CVE-2026-142593
·
Published
2026-12-02
·
Updated
2026-12-02
Description by
CVSS 3.1
5.3
MediumMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Name of the Vulnerable Software and Affected Versions
Rack versions 2.2.0 through 2.2.25
Rack versions 3.1.0 through 3.1.23
Rack versions 3.2.0 through 3.2.8
Description
Rack::Directory#get fails to properly normalize paths containing dot-dot segments. While it uses File.expand path for checks, it passes the original unnormalized path to the
File.stat() and Dir.foreach() functions instead of applying Utils.clean path info. If a directory under the served root is a symbolic link followed by dot-dot segments, the operating system resolves the link first, allowing an unauthenticated user to list the parent or sibling directories outside the intended root. This exposure is limited to directory entry names, sizes, and modification times.Recommendations
Update to version 2.2.26
Update to version 3.1.24
Update to version 3.2.9
Found an issue in the description? Have something to add? Feel free to write us 👾