CVE-2026-34830
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::Sendfile#map_accel_path interpolates the value of the X-Accel-Mapping request header directly into a regular expression when rewriting file paths for X-Accel-Redirect. Because the header value is not escaped, an attacker who can supply X-Accel-Mapping to the backend can inject regex metacharacters and control the generated X-Accel-Redirect response header. In deployments using Rack::Sendfile with x-accel-redirect, this can allow an attacker to cause nginx to serve unintended files from configured internal locations. 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