CVE-2026-34786
Publication date 2 April 2026
Last updated 23 April 2026
Ubuntu priority
Cvss 3 Severity Score
Description
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.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| ruby-rack | 25.10 questing |
Fixed 3.1.16-0.1ubuntu0.3
|
| 24.04 LTS noble |
Fixed 2.2.7-1ubuntu0.7
|
|
| 22.04 LTS jammy |
Fixed 2.1.4-5ubuntu1.2+esm3
|
|
| 20.04 LTS focal |
Fixed 2.0.7-2ubuntu0.1+esm10
|
|
| 18.04 LTS bionic |
Fixed 1.6.4-4ubuntu0.2+esm10
|
|
| 16.04 LTS xenial | Ignored changes too intrusive | |
| 14.04 LTS trusty | Ignored changes too intrusive |
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu Pro 30-day free trialSeverity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Network |
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | None |
| Integrity impact | Low |
| Availability impact | None |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
References
Related Ubuntu Security Notices (USN)
- USN-8182-1
- Rack vulnerabilities
- 17 April 2026