RubyGems (Ruby)Worst: Critical55 advisories
rack: known vulnerabilities
rack has 55 reviewed security advisories in the GitHub Advisory Database — 1 critical, 19 high, 29 moderate, 6 low. The most recent was published 2026-11-09. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the rack versions running across your servers, containers and images, and ranks what to patch first.
How to fix rack
Upgrade rack to a release at or above the fixed version shown for each advisory below. For RubyGems (Ruby):
bundle update rack to 3.2.8 (or gem install rack -v 3.2.8)
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (55)
Rack: Rack::Request#host_with_port (and #base_url / #url) return the raw invalid Host header — incomplete fix of CVE-2026-34835
Moderate 4.8 CWE-1286
— Affected: from 3.2.0 up to 3.2.8. Fixed in 3.2.8. Published 2026-11-09. GHSA-2j8w-xcrc-x985 · CVE-2026-125109
Rack: Multipart parsing allows DoS via unbounded scan buffer growth
High 7.5 CWE-400
— Affected: from 3.2.0 up to 3.2.8. Fixed in 3.2.8. Published 2026-11-09. GHSA-5v64-555j-wjxm · CVE-2026-125111
Rack: Multipart boundary ambiguity guard in Rack::Multipart::Parser can be bypassed with a quoted boundary value, allowing WAF bypass
Low 3.7 CWE-436
— Affected: from 3.2.0 up to 3.2.8. Fixed in 3.2.8. Published 2026-11-09. GHSA-p8x9-v4hv-2w4g · CVE-2026-125108
Rack: Rack::Static header_rules bypass via dot-segment normalization mismatch
Moderate 5.3 CWE-180
— Affected: from 3.2.0 up to 3.2.8. Fixed in 3.2.8. Published 2026-11-09. GHSA-wvg4-6p58-3gh3 · CVE-2026-125110
Rack has a root directory disclosure via unescaped regex interpolation in Rack::Directory
Moderate 5.3 CWE-625
— Affected: from 3.2.0 up to 3.2.6. Fixed in 3.2.6. Published 2026-04-02. GHSA-7mqq-6cf9-v2qp · CVE-2026-34763
Rack's multipart parsing without Content-Length header allows unbounded chunked file uploads
High 7.5 CWE-400 CWE-770
— Affected: from 3.2.0 up to 3.2.6. Fixed in 3.2.6. Published 2026-04-02. GHSA-8vqr-qjwx-82mw · CVE-2026-34829
Rack::Request accepts invalid Host characters, enabling host allowlist bypass
Moderate 4.8 CWE-1286
— Affected: from 3.2.0 up to 3.2.6. Fixed in 3.2.6. Published 2026-04-02. GHSA-g2pf-xv49-m2h5 · CVE-2026-34835
Rack::Static prefix matching can expose unintended files under the static root
High 7.5 CWE-187 CWE-200
— Affected: from 3.2.0 up to 3.2.6. Fixed in 3.2.6. Published 2026-04-02. GHSA-h2jq-g4cq-5ppq · CVE-2026-34785
Rack has Content-Length mismatch in Rack::Files error responses
Moderate 4.8 CWE-130 CWE-135
— Affected: from 3.2.0 up to 3.2.6. Fixed in 3.2.6. Published 2026-04-02. GHSA-q2ww-5357-x388 · CVE-2026-34831
Rack:: Static header_rules bypass via URL-encoded paths
Moderate 5.3 CWE-180
— Affected: from 3.2.0 up to 3.2.6. Fixed in 3.2.6. Published 2026-04-02. GHSA-q4qf-9j86-f5mh · CVE-2026-34786
Rack: Forwarded Header semicolon injection enables Host and Scheme spoofing
Moderate 4.8 CWE-436
— Affected: from 3.2.0 up to 3.2.6. Fixed in 3.2.6. Published 2026-04-02. GHSA-qfgr-crr9-7r49 · CVE-2026-32762
Rack::Sendfile header-based X-Accel-Mapping regex injection enables unauthorized X-Accel-Redirect
Moderate 5.9 CWE-625
— Affected: from 3.2.0 up to 3.2.6. Fixed in 3.2.6. Published 2026-04-02. GHSA-qv7j-4883-hwh7 · CVE-2026-34830
Rack's improper unfolding of folded multipart headers preserves CRLF in parsed parameter values
Moderate 4.8 CWE-93
— Affected: from 3.2.0 up to 3.2.6. Fixed in 3.2.6. Published 2026-04-02. GHSA-rx22-g9mx-qrhv · CVE-2026-26962
Rack has quadratic complexity in Rack::Utils.select_best_encoding via wildcard Accept-Encoding header
High 7.5 CWE-400 CWE-407
— Affected: from 3.2.0 up to 3.2.6. Fixed in 3.2.6. Published 2026-04-02. GHSA-v569-hp3g-36wr · CVE-2026-34230
Rack's multipart header parsing allows Denial of Service via escape-heavy quoted parameters
High 7.5 CWE-400 CWE-407 CWE-770
— Affected: from 3.2.0 up to 3.2.6. Fixed in 3.2.6. Published 2026-04-02. GHSA-v6x5-cg8r-vv6x · CVE-2026-34827
Rack's greedy multipart boundary parsing can cause parser differentials and WAF bypass.
Moderate 5.3 CWE-436
— Affected: from 3.2.0 up to 3.2.6. Fixed in 3.2.6. Published 2026-04-02. GHSA-vgpv-f759-9wx3 · CVE-2026-26961
Rack's multipart byte range processing allows denial of service via excessive overlapping ranges
Moderate 5.3 CWE-400 CWE-770
— Affected: from 3.2.0 up to 3.2.6. Fixed in 3.2.6. Published 2026-04-02. GHSA-x8cg-fq8g-mxfx · CVE-2026-34826
Rack has a Directory Traversal via Rack:Directory
High 7.5 CWE-22 CWE-548
— Affected: from 3.2.0 up to 3.2.5. Fixed in 3.2.5. Published 2026-02-18. GHSA-mxw3-3hh2-x2mh · CVE-2026-22860
Stored XSS in Rack::Directory via javascript: filenames rendered into anchor href
Moderate 5.4 CWE-79
— Affected: from 3.2.0 up to 3.2.5. Fixed in 3.2.5. Published 2026-02-18. GHSA-whrj-4476-wvmp · CVE-2026-25500
Rack is vulnerable to a memory-exhaustion DoS through unbounded URL-encoded body parsing
High 7.5 CWE-400
— Affected: from 3.2 up to 3.2.3. Fixed in 3.2.3. Published 2025-10-10. GHSA-6xw4-3v39-52mm · CVE-2025-61919
Rack has a Possible Information Disclosure Vulnerability
Moderate 5.8 CWE-200 CWE-441 CWE-913
— Affected: from 3.2 up to 3.2.3. Fixed in 3.2.3. Published 2025-10-10. GHSA-r657-rxjc-j557 · CVE-2025-61780
Rack's unbounded multipart preamble buffering enables DoS (memory exhaustion)
High 7.5 CWE-400
— Affected: from 3.2 up to 3.2.2. Fixed in 3.2.2. Published 2025-10-07. GHSA-p543-xpfm-54cp · CVE-2025-61770
Rack: Multipart parser buffers large non‑file fields entirely in memory, enabling DoS (memory exhaustion)
High 7.5 CWE-400
— Affected: from 3.2 up to 3.2.2. Fixed in 3.2.2. Published 2025-10-07. GHSA-w9pc-fmgc-vxvw · CVE-2025-61771
Rack's multipart parser buffers unbounded per-part headers, enabling DoS (memory exhaustion)
High 7.5 CWE-400
— Affected: from 3.2 up to 3.2.2. Fixed in 3.2.2. Published 2025-10-07. GHSA-wpv5-97wm-hp9c · CVE-2025-61772
Rack has an unsafe default in Rack::QueryParser allows params_limit bypass via semicolon-separated parameters
High 7.5 CWE-400 CWE-770
— Affected: before 2.2.18. Fixed in 2.2.18. Published 2025-09-25. GHSA-625h-95r8-8xpm · CVE-2025-59830
ReDoS Vulnerability in Rack::Multipart handle_mime_head
Moderate CWE-770
— Affected: from 3.1.0 up to 3.1.16. Fixed in 3.1.16. Published 2025-06-04. GHSA-47m2-26rw-j2jw · CVE-2025-49007
Rack has an Unbounded-Parameter DoS in Rack::QueryParser
High 7.5 CWE-400
— Affected: from 3.1 up to 3.1.14. Fixed in 3.1.14. Published 2025-05-07. GHSA-gjh7-p2fx-99vx · CVE-2025-46727
Rack session gets restored after deletion
Moderate 4.2 CWE-362 CWE-367 CWE-613
— Affected: before 2.2.14. Fixed in 2.2.14. Published 2025-05-07. GHSA-vpfw-47h7-xj4g · CVE-2025-32441
Local File Inclusion in Rack::Static
High 7.5 CWE-23
— Affected: from 3.1 up to 3.1.12. Fixed in 3.1.12. Published 2025-03-10. GHSA-7wqh-767x-r66v · CVE-2025-27610
Escape Sequence Injection vulnerability in Rack lead to Possible Log Injection
Moderate CWE-117 CWE-93
— Affected: from 3.1 up to 3.1.11. Fixed in 3.1.11. Published 2025-03-04. GHSA-8cgq-6mh2-7j6v · CVE-2025-27111
Possible Log Injection in Rack::CommonLogger
Moderate 6.5 CWE-117 CWE-93
— Affected: from 3.1 up to 3.1.10. Fixed in 3.1.10. Published 2025-02-12. GHSA-7g2v-jj9q-g3rg · CVE-2025-25184
Possible Denial of Service Vulnerability in Rack's header parsing
Low
— Affected: from 3.0.0 up to 3.0.6.1. Fixed in 3.0.6.1. Published 2025-01-09. GHSA-c6qg-cjj8-47qp · CVE-2023-27539
Rack ReDoS Vulnerability in HTTP Accept Headers Parsing
Moderate 6.5 CWE-1333
— Affected: from 3.1.0 up to 3.1.5. Fixed in 3.1.5. Published 2024-07-02. GHSA-cj83-2ww7-mvq7 · CVE-2024-39316
Rack vulnerable to ReDoS in content type parsing (2nd degree polynomial)
Moderate 5.3 CWE-1333
— Affected: from 0.4 up to 2.2.8.1. Fixed in 2.2.8.1. Published 2024-02-29. GHSA-22f2-v57c-j9cx · CVE-2024-25126
Rack Header Parsing leads to Possible Denial of Service Vulnerability
Low CWE-1333
— Affected: before 2.0.9.4. Fixed in 2.0.9.4. Published 2024-02-29. GHSA-54rr-7fvw-6x8f · CVE-2024-26146
Rack has possible DoS Vulnerability with Range Header
Low CWE-400
— Affected: from 1.3.0 up to 2.2.8.1. Fixed in 2.2.8.1. Published 2024-02-29. GHSA-xj5v-6v4g-jfw6 · CVE-2024-26141
Rack has possible DoS Vulnerability in Multipart MIME parsing
High 7.5 CWE-400 CWE-770
— Affected: from 3.0.0 up to 3.0.4.2. Fixed in 3.0.4.2. Published 2023-03-10. GHSA-3h57-hmj3-gj3p · CVE-2023-27530
Denial of service via header parsing in Rack
High 7.5 CWE-1333 CWE-400
— Affected: from 3.0.0.0 up to 3.0.4.1. Fixed in 3.0.4.1. Published 2023-02-09. GHSA-65f5-mfpf-vfhj · CVE-2022-44570
Denial of Service Vulnerability in Rack Content-Disposition parsing
Low CWE-1333 CWE-400
— Affected: from 3.0.0.0 up to 3.0.4.1. Fixed in 3.0.4.1. Published 2023-02-09. GHSA-93pm-5p5f-3ghx · CVE-2022-44571
Denial of service via multipart parsing in Rack
Low CWE-1333 CWE-400
— Affected: from 3.0.0.0 up to 3.0.4.1. Fixed in 3.0.4.1. Published 2023-02-09. GHSA-rqv2-275x-2jq5 · CVE-2022-44572
Denial of Service Vulnerability in Rack Multipart Parsing
High 7.5 CWE-1333 CWE-400
— Affected: from 2.2 up to 2.2.3.1. Fixed in 2.2.3.1. Published 2022-12-05. GHSA-hxqx-xwvh-44m2 · CVE-2022-30122
Possible shell escape sequence injection vulnerability in Rack
Critical 10.0 CWE-150
— Affected: from 2.2 up to 2.2.3.1. Fixed in 2.2.3.1. Published 2022-12-05. GHSA-wq4h-7r42-5hrr · CVE-2022-30123
Directory traversal in Rack::Directory app bundled with Rack
High 8.6 CWE-22 CWE-548
— Affected: before 2.1.3. Fixed in 2.1.3. Published 2020-07-02. GHSA-5f9h-9pjv-v6j7 · CVE-2020-8161
Rack allows Percent-encoded cookies to overwrite existing prefixed cookie names
High 7.5 CWE-20 CWE-784
— Affected: from 2.2.0 up to 2.2.3. Fixed in 2.2.3. Published 2020-06-19. GHSA-j6w9-fv6q-3q52 · CVE-2020-8184
Possible Information Leak / Session Hijack Vulnerability in Rack
Moderate 6.3 CWE-203 CWE-208
— Affected: from 2.0.0 up to 2.0.8. Fixed in 2.0.8. Published 2019-12-18. GHSA-hrqr-hxpp-chr3 · CVE-2019-16782
Rack vulnerable to Cross-site Scripting
Moderate 6.1 CWE-79
— Affected: before 1.6.11. Fixed in 1.6.11. Published 2018-11-13. GHSA-5r2p-j47h-mhpg · CVE-2018-16471
Rack vulnerable to Denial of Service
High 7.5 CWE-400
— Affected: from 2.0.4 up to 2.0.6. Fixed in 2.0.6. Published 2018-11-13. GHSA-hg78-4f6x-99wq · CVE-2018-16470
Moderate severity vulnerability that affects rack
Moderate
— Affected: from 1.6.0 up to 1.6.2. Fixed in 1.6.2. Published 2018-09-17. GHSA-9vc2-p34x-jhxh
Rack vulnerable to Denial of Service via large parameter depth request
Moderate
— Affected: from 1.4.0 up to 1.4.6. Fixed in 1.4.6. Published 2017-10-24. GHSA-rgr4-9jh5-j4j6 · CVE-2015-3225
Rack rubygems receiving excessively long lines triggers out-of-memory error
Moderate CWE-119 CWE-400
— Affected: from 1.4.0 up to 1.4.3. Fixed in 1.4.3. Published 2013-03-01. GHSA-3pxh-h8hw-mj8w · CVE-2013-0183
Rack vulnerable to REDoS
Moderate CWE-835
— Affected: from 1.4.0 up to 1.4.2. Fixed in 1.4.2. Published 2013-03-01. GHSA-h77x-m5q8-c29h · CVE-2012-6109
Rack vulnerable to Denial of Service
Moderate
— Affected: from 1.4.0 up to 1.4.4. Fixed in 1.4.4. Published 2013-03-01. GHSA-v882-ccj6-jc48 · CVE-2013-0184
Rack Vulnerable to Path Traversal
Moderate CWE-22
— Affected: from 1.4.0 up to 1.4.5. Fixed in 1.4.5. Published 2013-02-08. GHSA-85r7-w5mv-c849 · CVE-2013-0262
Rack arbitrary code execution via timing attack
Moderate
— Affected: from 1.1.0 up to 1.1.6. Fixed in 1.1.6. Published 2013-02-08. GHSA-xc85-32mf-xpv8 · CVE-2013-0263
Rack Gem Subject to Denial of Service via Hash Collisions
Moderate CWE-328 CWE-400
— Affected: from 1.3.0 up to 1.3.6. Fixed in 1.3.6. Published 2011-12-30. GHSA-v6j3-7jrw-hq2p · CVE-2011-5036
Find rack across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.