cbcvebase.
CVE-2026-34785
published 2026-04-02

CVE-2026-34785: Rack is a modular Ruby web server interface. Prior to versions 2.2.23, 3.1.21, and 3.2.6, Rack::Static determines whether a request should be served as a…

PriorityP347high7.5CVSS 3.1
AVNACLPRNUINSUCHINAN
EPSS
0.39%
30.6th percentile
Rack is a modular Ruby web server interface. Prior to versions 2.2.23, 3.1.21, and 3.2.6, Rack::Static determines whether a request should be served as a static file using a simple string prefix check. When configured with URL prefixes such as "/css", it matches any request path that begins with that string, including unrelated paths such as "/css-config.env" or "/css-backup.sql". As a result, files under the static root whose names merely share the configured prefix may be served unintentionally, leading to information disclosure. This issue has been patched in versions 2.2.23, 3.1.21, and 3.2.6.

Affected

9 ranges
VendorProductVersion rangeFixed in
debianruby-rack< ruby-rack 3.2.6-2 (sid)ruby-rack 3.2.6-2 (sid)
rackrack< 2.2.232.2.23
rackrack
rackrack
rackrack>= 0 < 2.2.232.2.23
rackrack>= 3.0.0 < 3.1.213.1.21
rackrack>= 3.0.0.beta1 < 3.1.213.1.21
rackrack>= 3.2.0 < 3.2.63.2.6
rackrack>= 3.2.0 < 3.2.63.2.6

CVSS provenance

nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
osv7.5HIGH
vendor_debian7.5HIGH
vendor_redhat7.5HIGH
vendor_ubuntu3.7LOW
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.