5.3

CVE-2026-142593: Rack: `Rack::Directory` lists directories outside the root when `..` follows a symbolic link.

Awaiting analysis
AliasesGHSA-mhj6-xc86-54m8CGA-2cc2-p6g3-jpcgCGA-6v3g-5jcg-jh63
Published 02-12-2026Last modified 03-12-2026

Vulnerability summary

CVE-2026-142593 is a medium (CVSS 5.3) vulnerability in rack. EPSS estimates a 0.82% chance of exploitation in the next 30 days, higher than 58.4% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.3/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.82%
0%100%
Low · Change unavailable
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 02-12-2026
    PublishedVulnerability first disclosed.
  2. 03-12-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.82%

Chance of exploitation in the next 30 days

Percentile

58%

Versus all other CVEs

30-day change

Change unavailable

Change unavailable

03-12-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard39 products
  • commercial-gitlab-rails-ee-19.1All versions (No fix recorded)
  • commercial-gitlab-rails-ee-19.2All versions (No fix recorded)
  • commercial-gitlab-rails-ee-19.3All versions (No fix recorded)
  • commercial-gitlab-rails-ee-19.4All versions (No fix recorded)
  • commercial-gitlab-rails-ee-19.5All versions (No fix recorded)
Wolfi4 products
  • logstash-9.3All versions (No fix recorded)
  • ruby3.4-kube-logging-operator-fluentd-outputsAll versions (No fix recorded)
  • ruby3.4-rack-2.2All versions (No fix recorded)
  • ruby4.0-rack-2.2All versions (No fix recorded)
Rack1 product
  • rack≥ 2.2.0, < 2.2.26 | ≥ 3.0.0, < 3.1.24 | ≥ 3.2.0, < 3.2.9
RubyGems1 product
  • rack≥ 2.2.0, < 2.2.26 | ≥ 3.0.0, < 3.1.24 | ≥ 3.2.0, < 3.2.9

4 vendors · 45 products

References

10 links