ruby-rack: Rack is a modular Ruby web server interface
CVE-2026-34830 is fixed in 2 products on 1 platform, first by ruby-rack 3.2.4-1ubuntu1.1, released April 2, 2026. It is not reported as exploited. Patch Radar priority: High.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| rmt-server · opensuse-leap 16.0 | 3.1.0-160000.1.1 | OPENSUSE-SU-2026:21640-1 | Aug 25, 2026 |
| rmt-server · sles 15.6 | 2.27-150500.3.47.1 | SUSE-SU-2026:2487-1 | Jun 22, 2026 |
| rmt-server · sles 16.0 | 3.1.0-160000.1.1 | SUSE-SU-2026:23321-1 | Aug 25, 2026 |
| ruby-rack · Debian 12.15 (bookworm) | 2.2.22-0+deb12u2 | DEBIAN-CVE-2026-34830 | Apr 2, 2026 |
| ruby-rack · Debian 13.5 (trixie) | 3.1.20-0+deb13u2 | DEBIAN-CVE-2026-34830 | Apr 2, 2026 |
| ruby-rack · Debian 14 | 3.2.6-2 | DEBIAN-CVE-2026-34830 | Apr 2, 2026 |
| ruby-rack · Ubuntu 18.04.6 LTS (bionic) | 1.6.4-4ubuntu0.2+esm10 | ruby-rack 1.6.4-4ubuntu0.2+esm10 | Apr 30, 2026 |
| ruby-rack · Ubuntu 22.04.1 LTS (jammy) | 2.1.4-5ubuntu1.2+esm3 | ruby-rack 2.1.4-5ubuntu1.2+esm3 | Apr 30, 2026 |
| ruby-rack · Ubuntu 24.04.5 LTS (noble) | 2.2.7-1ubuntu0.7 | ruby-rack 2.2.7-1ubuntu0.7 | Apr 30, 2026 |
| ruby-rack · Ubuntu 25.10 (questing) | 3.1.16-0.1ubuntu0.3 | ruby-rack 3.1.16-0.1ubuntu0.3 | Apr 30, 2026 |
| ruby-rack · Ubuntu 26.04.1 LTS (resolute) | 3.2.4-1ubuntu1.1 | ruby-rack 3.2.4-1ubuntu1.1 | Apr 2, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.