CVE-2026-34835 — Vulnerability in rack — CVE Details
Rack::Request accepts invalid Host characters, enabling host allowlist bypass
Summary
Advisory Timeline
- First published April 2, 2026 (193 days ago).
- Last revised September 10, 2026 — 160 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install rack -v 3.2.6
gem install rack -v 3.1.21
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: rubygems (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-1286
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 4.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
References
Frequently Asked Questions
- What is CVE-2026-34835?
- Rack::Request accepts invalid Host characters, enabling host allowlist bypass This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 4.8/10).
- How do I check if my project is affected by CVE-2026-34835?
- CVE-2026-34835 affects rack. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-34835 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions or has limited impact. Remediate within weeks.
Also Known As
Related CVEs
- CVE-2026-34230HIGH
Rack has quadratic complexity in Rack::Utils.select_best_encoding via wildcard Accept-Encoding header
- CVE-2026-34827HIGH
Rack's multipart header parsing allows Denial of Service via escape-heavy quoted parameters
- CVE-2025-61771HIGH
Rack: Multipart parser buffers large non‑file fields entirely in memory, enabling DoS (memory exhaustion)
- CVE-2026-32762MEDIUM
Rack: Forwarded Header semicolon injection enables Host and Scheme spoofing
- CVE-2026-34830MEDIUM
Rack::Sendfile header-based X-Accel-Mapping regex injection enables unauthorized X-Accel-Redirect
- CVE-2025-61780MEDIUM
Rack has a Possible Information Disclosure Vulnerability
- CVE-2026-26962MEDIUM
Rack's improper unfolding of folded multipart headers preserves CRLF in parsed parameter values
- CVE-2026-26961MEDIUM
Rack's greedy multipart boundary parsing can cause parser differentials and WAF bypass.
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies