CVE-2026-34785: Rack is a modular Ruby web server interface
CVE-2026-34785 is a high-severity flaw (CVSS 7.5) affecting rack. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- High severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-07-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-34785?
rack: upgrade to 2.2.23, 3.1.21, 3.2.6. Exact commands for each OS are on this page.
Is CVE-2026-34785 being exploited?
CVE-2026-34785 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-34785 affect?
CVE-2026-34785 affects rack. Severity is high (CVSS 7.5). 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
How urgent is CVE-2026-34785?
Priority 39/100. High severity; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2023-27530 HIGH 7.5 UPGRADE MITIGATE A DoS vulnerability exists in Rack <v3.0.4.2, <v2.2.6.3, <v2.1.4.3 and <v2.0.9.3 within in the Multipart MIME
- CVE-2026-34827 HIGH 7.5 UPGRADE Rack is a modular Ruby web server interface
- CVE-2026-34829 HIGH 7.5 UPGRADE Rack is a modular Ruby web server interface
- CVE-2026-34230 MEDIUM 5.3 UPGRADE Rack is a modular Ruby web server interface
- CVE-2026-34826 MEDIUM 5.3 UPGRADE Rack is a modular Ruby web server interface