rack

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.

3.2.9Latest, 20 Nov 2026
1.4BDownloads, all time
0Advisories on the latest
40Advisories, all versions
MITLicence
5.1KStars
7.2/10OpenSSF Scorecard

Known advisories

Severity Advisory Fix Published
Low Rack: `Rack::Multipart` extracts the boundary by substring match rather than parameter parsing, allowing parser differentials and WAF bypass CVE-2026-142594 Fixed in 2.2.26, 3.1.24, 3.2.9 3 Dec 2026
Moderate Rack: `Rack::Multipart::Parser` preserves CRLF from multipart part headers in parsed parameter names (incomplete fix for CVE-2026-26962) CVE-2026-142590 Fixed in 2.2.26, 3.1.24, 3.2.9 2 Dec 2026
Moderate Rack: Rack::Request#host_with_port (and #base_url / #url) return the raw invalid Host header — incomplete fix of CVE-2026-34835 CVE-2026-125109 Fixed in 3.1.23, 3.2.8 10 Nov 2026
High Rack: Multipart parsing allows DoS via unbounded scan buffer growth CVE-2026-125111 Fixed in 2.2.25, 3.1.23, 3.2.8 10 Nov 2026
Low Rack: Multipart boundary ambiguity guard in Rack::Multipart::Parser can be bypassed with a quoted boundary value, allowing WAF bypass CVE-2026-125108 Fixed in 2.2.25, 3.1.23, 3.2.8 10 Nov 2026
Moderate Rack: Rack::Static header_rules bypass via dot-segment normalization mismatch CVE-2026-125110 Fixed in 2.2.25, 3.1.23, 3.2.8 10 Nov 2026
Moderate Rack has a root directory disclosure via unescaped regex interpolation in Rack::Directory CVE-2026-34763 Fixed in 2.2.23, 3.1.21, 3.2.6 2 Apr 2026
High Rack's multipart parsing without Content-Length header allows unbounded chunked file uploads CVE-2026-34829 Fixed in 2.2.23, 3.1.21, 3.2.6 2 Apr 2026
Moderate Rack::Request accepts invalid Host characters, enabling host allowlist bypass CVE-2026-34835 Fixed in 3.1.21, 3.2.6 2 Apr 2026
High Rack::Static prefix matching can expose unintended files under the static root CVE-2026-34785 Fixed in 2.2.23, 3.1.21, 3.2.6 2 Apr 2026
Moderate Rack has Content-Length mismatch in Rack::Files error responses CVE-2026-34831 Fixed in 2.2.23, 3.1.21, 3.2.6 2 Apr 2026
Moderate Rack:: Static header_rules bypass via URL-encoded paths CVE-2026-34786 Fixed in 2.2.23, 3.1.21, 3.2.6 2 Apr 2026
Moderate Rack: Forwarded Header semicolon injection enables Host and Scheme spoofing CVE-2026-32762 Fixed in 3.1.21, 3.2.6 2 Apr 2026
Moderate Rack::Sendfile header-based X-Accel-Mapping regex injection enables unauthorized X-Accel-Redirect CVE-2026-34830 Fixed in 2.2.23, 3.1.21, 3.2.6 2 Apr 2026
Moderate Rack's improper unfolding of folded multipart headers preserves CRLF in parsed parameter values CVE-2026-26962 Fixed in 3.2.6 2 Apr 2026

In the news

On Hacker News

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