# rack (RubyGems)

Rack provides a minimal, modular and adaptable interface for developing
web applications in Ruby. By wrapping HTTP requests and responses in
the simplest way possible, it unifies and distills the API for web
servers, web frameworks, and software in between (the so-called
middleware) into a single method call.

- Latest: 3.2.9 (2026-11-20)
- Licence: MIT
- Downloads: 1406123159 all time
- Advisories on the latest version: 0

- CVE-2026-142594 LOW: Rack: `Rack::Multipart` extracts the boundary by substring match rather than parameter parsing, allowing parser differentials and WAF bypass Fixed in 2.2.26, 3.1.24, 3.2.9.
- CVE-2026-142590 MODERATE: Rack: `Rack::Multipart::Parser` preserves CRLF from multipart part headers in parsed parameter names (incomplete fix for CVE-2026-26962) Fixed in 2.2.26, 3.1.24, 3.2.9.
- CVE-2026-125109 MODERATE: Rack: Rack::Request#host_with_port (and #base_url / #url) return the raw invalid Host header — incomplete fix of CVE-2026-34835 Fixed in 3.1.23, 3.2.8.
- CVE-2026-125111 HIGH: Rack: Multipart parsing allows DoS via unbounded scan buffer growth Fixed in 2.2.25, 3.1.23, 3.2.8.
- CVE-2026-125108 LOW: Rack: Multipart boundary ambiguity guard in Rack::Multipart::Parser can be bypassed with a quoted boundary value, allowing WAF bypass Fixed in 2.2.25, 3.1.23, 3.2.8.
- CVE-2026-125110 MODERATE: Rack: Rack::Static header_rules bypass via dot-segment normalization mismatch Fixed in 2.2.25, 3.1.23, 3.2.8.
- CVE-2026-34763 MODERATE: Rack has a root directory disclosure via unescaped regex interpolation in Rack::Directory Fixed in 2.2.23, 3.1.21, 3.2.6.
- CVE-2026-34829 HIGH: Rack's multipart parsing without Content-Length header allows unbounded chunked file uploads Fixed in 2.2.23, 3.1.21, 3.2.6.
- CVE-2026-34835 MODERATE: Rack::Request accepts invalid Host characters, enabling host allowlist bypass Fixed in 3.1.21, 3.2.6.
- CVE-2026-34785 HIGH: Rack::Static prefix matching can expose unintended files under the static root Fixed in 2.2.23, 3.1.21, 3.2.6.
- CVE-2026-34831 MODERATE: Rack has Content-Length mismatch in Rack::Files error responses Fixed in 2.2.23, 3.1.21, 3.2.6.
- CVE-2026-34786 MODERATE: Rack:: Static header_rules bypass via URL-encoded paths Fixed in 2.2.23, 3.1.21, 3.2.6.
- CVE-2026-32762 MODERATE: Rack: Forwarded Header semicolon injection enables Host and Scheme spoofing Fixed in 3.1.21, 3.2.6.
- CVE-2026-34830 MODERATE: Rack::Sendfile header-based X-Accel-Mapping regex injection enables unauthorized X-Accel-Redirect Fixed in 2.2.23, 3.1.21, 3.2.6.
- CVE-2026-26962 MODERATE: Rack's improper unfolding of folded multipart headers preserves CRLF in parsed parameter values Fixed in 3.2.6.
- CVE-2026-34230 HIGH: Rack has quadratic complexity in Rack::Utils.select_best_encoding via wildcard Accept-Encoding header Fixed in 2.2.23, 3.1.21, 3.2.6.
- CVE-2026-34827 HIGH: Rack's multipart header parsing allows Denial of Service via escape-heavy quoted parameters Fixed in 3.1.21, 3.2.6.
- CVE-2026-26961 MODERATE: Rack's greedy multipart boundary parsing can cause parser differentials and WAF bypass. Fixed in 2.2.23, 3.1.21, 3.2.6.
- CVE-2026-34826 MODERATE: Rack's multipart byte range processing allows denial of service via excessive overlapping ranges Fixed in 2.2.23, 3.1.21, 3.2.6.
- CVE-2026-22860 HIGH: Rack has a Directory Traversal via Rack:Directory Fixed in 2.2.22, 3.1.20, 3.2.5.
- CVE-2026-25500 MODERATE: Stored XSS in Rack::Directory via javascript: filenames rendered into anchor href Fixed in 2.2.22, 3.1.20, 3.2.5.
- CVE-2025-61919 HIGH: Rack is vulnerable to a memory-exhaustion DoS through unbounded URL-encoded body parsing Fixed in 2.2.20, 3.1.18, 3.2.3.
- CVE-2025-61780 MODERATE: Rack has a Possible Information Disclosure Vulnerability Fixed in 2.2.20, 3.1.18, 3.2.3.
- CVE-2025-61770 HIGH: Rack's unbounded multipart preamble buffering enables DoS (memory exhaustion) Fixed in 2.2.19, 3.1.17, 3.2.2.
- CVE-2025-61771 HIGH: Rack: Multipart parser buffers large non‑file fields entirely in memory, enabling DoS (memory exhaustion) Fixed in 2.2.19, 3.1.17, 3.2.2.
- CVE-2025-61772 HIGH: Rack's multipart parser buffers unbounded per-part headers, enabling DoS (memory exhaustion) Fixed in 2.2.19, 3.1.17, 3.2.2.
- CVE-2025-59830 HIGH: Rack has an unsafe default in Rack::QueryParser allows params_limit bypass via semicolon-separated parameters Fixed in 2.2.18.
- CVE-2025-49007 MODERATE: ReDoS Vulnerability in Rack::Multipart handle_mime_head Fixed in 3.1.16.
- CVE-2025-46727 HIGH: Rack has an Unbounded-Parameter DoS in Rack::QueryParser Fixed in 2.2.14, 3.0.16, 3.1.14.
- CVE-2025-32441 MODERATE: Rack session gets restored after deletion Fixed in 2.2.14.
- CVE-2025-27610 HIGH: Local File Inclusion in Rack::Static Fixed in 2.2.13, 3.0.14, 3.1.12.
- CVE-2025-27111 MODERATE: Escape Sequence Injection vulnerability in Rack lead to Possible Log Injection Fixed in 2.2.12, 3.0.13, 3.1.11.
- CVE-2025-25184 MODERATE: Possible Log Injection in Rack::CommonLogger Fixed in 2.2.11, 3.0.12, 3.1.10.
- CVE-2024-39316 MODERATE: Rack ReDoS Vulnerability in HTTP Accept Headers Parsing Fixed in 3.1.5.
- CVE-2024-25126 MODERATE: Rack vulnerable to ReDoS in content type parsing (2nd degree polynomial) Fixed in 3.0.9.1, 2.2.8.1.
- CVE-2024-26146 LOW: Rack Header Parsing leads to Possible Denial of Service Vulnerability Fixed in 2.2.8.1, 2.1.4.4, 2.0.9.4.
- CVE-2024-26141 LOW: Rack has possible DoS Vulnerability with Range Header Fixed in 3.0.9.1, 2.2.8.1.
- CVE-2023-27539 LOW: Possible Denial of Service Vulnerability in Rack's header parsing Fixed in 2.2.6.4, 3.0.6.1.
- CVE-2023-27530 HIGH: Rack has possible DoS Vulnerability in Multipart MIME parsing Fixed in 2.1.4.3, 2.2.6.3, 3.0.4.2.
- CVE-2022-44570 HIGH: Denial of service via header parsing in Rack Fixed in 2.1.4.2, 2.2.6.2, 3.0.4.1.

Sources: RubyGems, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.
