CVE 5.3 MEDIUM

Rack: Rack::Directory info disclosure and DoS via unescaped regex interpolation_CVE-2026-34763

5.3 / 10
MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Description

Rack is a modular Ruby web server interface. Prior to versions 2.2.23, 3.1.21, and 3.2.6, Rack::Directory interpolates the configured root path directly into a regular expression when deriving the displayed directory path. If root contains regex metacharacters such as +, *, or ., the prefix stripping can fail and the generated directory listing may expose the full filesystem path in the HTML output. This issue has been patched in versions 2.2.23, 3.1.21, and 3.2.6.

Basic Information

ID CVE-2026-34763
Source GitHub_M
Published Apr 2, 2026 at 16:43
Modified Apr 2, 2026 at 17:41

Affected Product

Vendor rack
Product rack
Version < 2.2.23
Affected Versions rack rack < 2.2.23
rack rack >= 3.0.0.beta1, < 3.1.21
rack rack >= 3.2.0, < 3.2.6

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.