CVE-2026-34786: Rack is a modular Ruby web server interface
CVE-2026-34786 is a medium-severity flaw (CVSS 5.3) 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::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
Why this priority
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.3 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.2% (top 91%) |
| CISA exploited list | No |
| Weakness | CWE-180 |
| 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-34786?
rack: upgrade to 2.2.23, 3.1.21, 3.2.6. Exact commands for each OS are on this page.
Is CVE-2026-34786 being exploited?
CVE-2026-34786 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-34786 affect?
CVE-2026-34786 affects rack. Severity is medium (CVSS 5.3). 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 de
How urgent is CVE-2026-34786?
Priority 26/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