{"id":"CVE-2026-34763","published":"2026-04-02T16:43:42Z","modified":"2026-04-02T17:41:12Z","title":"Rack: Rack::Directory info disclosure and DoS via unescaped regex interpolation","vendor":"rack","product":"rack","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0035,"percentile":0.21085,"provenance":"source"},"cwes":[{"id":"CWE-625","name":"Permissive Regular Expression"}],"references":[{"url":"https://github.com/rack/rack/security/advisories/GHSA-7mqq-6cf9-v2qp","tags":["x_refsource_CONFIRM"]}],"priority":{"score":7.9,"factors":[{"name":"EPSS percentile","points":4.22},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"rack","affectedVersions":[{"vendor":"rack","product":"rack","versions":["< 2.2.23",">= 3.0.0.beta1, < 3.1.21",">= 3.2.0, < 3.2.6"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-04-02T17:41:04.738315Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"rack","vulnerableRanges":["<2.2.23",">=3.0.0.beta1, <3.1.21",">=3.2.0, <3.2.6"],"patched":["2.2.23","3.1.21","3.2.6"],"from":["GHSA-7mqq-6cf9-v2qp"],"provenance":"source"}],"summary":{"text":"The flaw is in Rack::Directory, a component of the rack product (a Ruby web server interface), where the configured root path is interpolated unescaped into a regular expression used to derive displayed directory paths. An attacker with network access can view a generated directory listing on a server whose root path contains regex metacharacters such as +, *, or ., since the prefix stripping can fail and expose the full filesystem path in the HTML output, with no authentication or user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:16:38Z"},"euvd":{"id":"EUVD-2026-18380","exploited":false,"provenance":"source"}}