CVE-2026-34785
Ruby vulnerability analysis and mitigation

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.


SourceNVD

Related Ruby vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-2x79-gwq3-vxxmHIGH8.7
  • RubyRuby
  • iodine
NoNoApr 14, 2026
GHSA-ghmh-q25g-gxxxHIGH7.5
  • RubyRuby
  • decidim-api
NoYesApr 14, 2026
CVE-2026-40870HIGH7.5
  • RubyRuby
  • decidim-api
NoYesApr 14, 2026
GHSA-w5xj-99cg-rccmHIGH7.5
  • RubyRuby
  • decidim-core
NoYesApr 14, 2026
CVE-2026-40869HIGH7.5
  • RubyRuby
  • decidim-core
NoYesApr 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management