CVE-2026-142593
Last modified
CVE-2026-142593 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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. EPSS estimates a 0.82% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| rack | rack | >= 2.2.0, < 2.2.26; >= 3.0.0, < 3.1.24; >= 3.2.0, < 3.2.9 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-142593?
How severe is CVE-2026-142593?
How do I fix CVE-2026-142593?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-14257brace-expansion through 5.0.7 is vulnerable to denial of ser…7.5
- CVE-2026-14258A flaw was found in dhcpcd's IPv6 Neighbor Discovery Router …6.5
- CVE-2026-14259Mattermost versions 11.9.x <= 11.9.0, 11.8.x <= 11.8.4, 11.7…4.3
- CVE-2026-142590Rack is a modular Ruby web server interface. Prior to 2.2.26…4.8
- CVE-2026-142591Rack is a modular Ruby web server interface. Prior to 2.2.26…5.3
- CVE-2026-142592Rack is a modular Ruby web server interface. From 3.0.0 unti…7.5
- CVE-2026-142594Rack is a modular Ruby web server interface. Prior to 2.2.26…3.7
- CVE-2026-142595Mongoose is a MongoDB object modeling tool designed to work …6.5
- CVE-2026-142596Mongoose is a MongoDB object modeling tool designed to work …7.5
- CVE-2026-1426The Advanced AJAX Product Filters plugin for WordPress is vu…8.8
- CVE-2026-142608Mongoose is a MongoDB object modeling tool designed to work …0
- CVE-2026-14261A vulnerability in the Xerte Online Tools allows for authent…9.1
Are you affected by CVE-2026-142593?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
