Information Disclosure Vulnerability in Rack Modular Web Server Interface
CVE-2026-34785

7.5HIGH

Key Information:

Vendor

Rack

Status
Vendor
CVE Published:
2 April 2026

What is CVE-2026-34785?

Rack is a modular Ruby web server interface that, prior to specific updates, utilized a simplistic string prefix check for serving static files. This approach can lead to unwanted information disclosure, as it may allow unrelated files to be accessed if their paths begin with the configured prefixes, such as '/css'. For instance, files named '/css-config.env' or '/css-backup.sql' could be served unintentionally from the static root. To address this issue, upgrades to versions 2.2.23, 3.1.21, and 3.2.6 have been made available, mitigating the risk of sensitive information being disclosed.

Affected Version(s)

rack < 2.2.23 < 2.2.23

rack >= 3.0.0.beta1, < 3.1.21 < 3.0.0.beta1, 3.1.21

rack >= 3.2.0, < 3.2.6 < 3.2.0, 3.2.6

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.