CVE-2026-34830: Rack is a modular Ruby web server interface
CVE-2026-34830 is a medium-severity flaw (CVSS 5.9) 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::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 hea
Why this priority
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.9 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.2% (top 86%) |
| CISA exploited list | No |
| Weakness | CWE-625 |
| Published | 2026-04-02 |
| Last modified | 2026-07-24 |
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-34830?
rack: upgrade to 2.2.23, 3.1.21, 3.2.6. Exact commands for each OS are on this page.
Is CVE-2026-34830 being exploited?
CVE-2026-34830 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-34830 affect?
CVE-2026-34830 affects rack. Severity is medium (CVSS 5.9). 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 path
How urgent is CVE-2026-34830?
Priority 29/100. 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-34785 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