CVE-2026-34786
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#applicable_rules evaluates several header_rules types against the raw URL-encoded PATH_INFO, while the underlying file-serving path is decoded before the file is served. As a result, a request for a URL-encoded variant of a static path can serve the same file without the headers that header_rules were intended to apply. In deployments that rely on Rack::Static to attach security-relevant response headers to static content, this can allow an attacker to bypass those headers by requesting an encoded form of the path. 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