Is rack 3.1 vulnerable?

RubyGems · 24 releases from 3.1.0 to 3.1.23 · latest rack is 3.2.8 · checked 18 Nov 2026

No known advisories in the last release

rack 3.1.23, the last 3.1 release, has no known advisories. 29 advisories affect earlier 3.1.x releases, so update to 3.1.23.

Update within 3.1:bundle update --conservative rack # Gemfile: '>= 3.1.23'

Is your project on an affected rack?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Fixed within 3.1.x, affecting earlier releases

  • HighCVE-2026-125111GHSA-5v64-555j-wjxm10 Nov 2026

    Rack: Multipart parsing allows DoS via unbounded scan buffer growth

    Affected
    <2.2.25 · >=3.0.0 <3.1.23 · >=3.2.0 <3.2.8
    Fixed in
    2.2.25, 3.1.23, 3.2.8
  • LowCVE-2026-125108GHSA-p8x9-v4hv-2w4g10 Nov 2026

    Rack: Multipart boundary ambiguity guard in Rack::Multipart::Parser can be bypassed with a quoted boundary value, allowing WAF bypass

    Affected
    <2.2.25 · >=3.0.0 <3.1.23 · >=3.2.0 <3.2.8
    Fixed in
    2.2.25, 3.1.23, 3.2.8
  • MediumCVE-2026-125109GHSA-2j8w-xcrc-x98510 Nov 2026

    Rack: Rack::Request#host_with_port (and #base_url / #url) return the raw invalid Host header — incomplete fix of CVE-2026-34835

    Affected
    >=3.0.0 <3.1.23 · >=3.2.0 <3.2.8
    Fixed in
    3.1.23, 3.2.8
  • MediumCVE-2026-125110GHSA-wvg4-6p58-3gh310 Nov 2026

    Rack: Rack::Static header_rules bypass via dot-segment normalization mismatch

    Affected
    <2.2.25 · >=3.0.0 <3.1.23 · >=3.2.0 <3.2.8
    Fixed in
    2.2.25, 3.1.23, 3.2.8
  • MediumCVE-2026-34835GHSA-g2pf-xv49-m2h52 Apr 2026

    Rack::Request accepts invalid Host characters, enabling host allowlist bypass

    Affected
    >=3.0.0.beta1 <3.1.21 · >=3.2.0 <3.2.6
    Fixed in
    3.1.21, 3.2.6
  • MediumCVE-2026-34831GHSA-q2ww-5357-x3882 Apr 2026

    Rack has Content-Length mismatch in Rack::Files error responses

    Affected
    <2.2.23 · >=3.0.0.beta1 <3.1.21 · >=3.2.0 <3.2.6
    Fixed in
    2.2.23, 3.1.21, 3.2.6
  • MediumCVE-2026-34830GHSA-qv7j-4883-hwh72 Apr 2026

    Rack::Sendfile header-based X-Accel-Mapping regex injection enables unauthorized X-Accel-Redirect

    Affected
    <2.2.23 · >=3.0.0.beta1 <3.1.21 · >=3.2.0 <3.2.6
    Fixed in
    2.2.23, 3.1.21, 3.2.6
  • HighCVE-2026-34829GHSA-8vqr-qjwx-82mw2 Apr 2026

    Rack's multipart parsing without Content-Length header allows unbounded chunked file uploads

    Affected
    <2.2.23 · >=3.0.0.beta1 <3.1.21 · >=3.2.0 <3.2.6
    Fixed in
    2.2.23, 3.1.21, 3.2.6
  • MediumCVE-2026-34763GHSA-7mqq-6cf9-v2qp2 Apr 2026

    Rack has a root directory disclosure via unescaped regex interpolation in Rack::Directory

    Affected
    <2.2.23 · >=3.0.0.beta1 <3.1.21 · >=3.2.0 <3.2.6
    Fixed in
    2.2.23, 3.1.21, 3.2.6
  • HighCVE-2026-34230GHSA-v569-hp3g-36wr2 Apr 2026

    Rack has quadratic complexity in Rack::Utils.select_best_encoding via wildcard Accept-Encoding header

    Affected
    <2.2.23 · >=3.0.0.beta1 <3.1.21 · >=3.2.0 <3.2.6
    Fixed in
    2.2.23, 3.1.21, 3.2.6
  • MediumCVE-2026-32762GHSA-qfgr-crr9-7r492 Apr 2026

    Rack: Forwarded Header semicolon injection enables Host and Scheme spoofing

    Affected
    >=3.0.0.beta1 <3.1.21 · >=3.2.0 <3.2.6
    Fixed in
    3.1.21, 3.2.6
  • MediumCVE-2026-26961GHSA-vgpv-f759-9wx32 Apr 2026

    Rack's greedy multipart boundary parsing can cause parser differentials and WAF bypass.

    Affected
    <2.2.23 · >=3.0.0.beta1 <3.1.21 · >=3.2.0 <3.2.6
    Fixed in
    2.2.23, 3.1.21, 3.2.6
  • HighCVE-2026-34827GHSA-v6x5-cg8r-vv6x2 Apr 2026

    Rack's multipart header parsing allows Denial of Service via escape-heavy quoted parameters

    Affected
    >=3.0.0.beta1 <3.1.21 · >=3.2.0 <3.2.6
    Fixed in
    3.1.21, 3.2.6
  • MediumCVE-2026-34826GHSA-x8cg-fq8g-mxfx2 Apr 2026

    Rack's multipart byte range processing allows denial of service via excessive overlapping ranges

    Affected
    <2.2.23 · >=3.0.0.beta1 <3.1.21 · >=3.2.0 <3.2.6
    Fixed in
    2.2.23, 3.1.21, 3.2.6
  • MediumCVE-2026-34786GHSA-q4qf-9j86-f5mh2 Apr 2026

    Rack:: Static header_rules bypass via URL-encoded paths

    Affected
    <2.2.23 · >=3.0.0.beta1 <3.1.21 · >=3.2.0 <3.2.6
    Fixed in
    2.2.23, 3.1.21, 3.2.6
  • HighCVE-2026-34785GHSA-h2jq-g4cq-5ppq2 Apr 2026

    Rack::Static prefix matching can expose unintended files under the static root

    Affected
    <2.2.23 · >=3.0.0.beta1 <3.1.21 · >=3.2.0 <3.2.6
    Fixed in
    2.2.23, 3.1.21, 3.2.6
  • MediumCVE-2026-25500GHSA-whrj-4476-wvmp17 Feb 2026

    Stored XSS in Rack::Directory via javascript: filenames rendered into anchor href

    Affected
    <2.2.22 · >=3.0.0.beta1 <3.1.20 · >=3.2.0 <3.2.5
    Fixed in
    2.2.22, 3.1.20, 3.2.5
  • HighCVE-2026-22860GHSA-mxw3-3hh2-x2mh17 Feb 2026

    Rack has a Directory Traversal via Rack:Directory

    Affected
    <2.2.22 · >=3.0.0.beta1 <3.1.20 · >=3.2.0 <3.2.5
    Fixed in
    2.2.22, 3.1.20, 3.2.5
  • HighCVE-2025-61919GHSA-6xw4-3v39-52mm10 Oct 2025

    Rack is vulnerable to a memory-exhaustion DoS through unbounded URL-encoded body parsing

    Affected
    <2.2.20 · >=3.0 <3.1.18 · >=3.2 <3.2.3
    Fixed in
    2.2.20, 3.1.18, 3.2.3
  • MediumCVE-2025-61780GHSA-r657-rxjc-j55710 Oct 2025

    Rack has a Possible Information Disclosure Vulnerability

    Affected
    <2.2.20 · >=3.0 <3.1.18 · >=3.2 <3.2.3
    Fixed in
    2.2.20, 3.1.18, 3.2.3
  • HighCVE-2025-61772GHSA-wpv5-97wm-hp9c7 Oct 2025

    Rack's multipart parser buffers unbounded per-part headers, enabling DoS (memory exhaustion)

    Affected
    <2.2.19 · >=3.1 <3.1.17 · >=3.2 <3.2.2
    Fixed in
    2.2.19, 3.1.17, 3.2.2
  • HighCVE-2025-61771GHSA-w9pc-fmgc-vxvw7 Oct 2025

    Rack: Multipart parser buffers large non‑file fields entirely in memory, enabling DoS (memory exhaustion)

    Affected
    <2.2.19 · >=3.1 <3.1.17 · >=3.2 <3.2.2
    Fixed in
    2.2.19, 3.1.17, 3.2.2
  • HighCVE-2025-61770GHSA-p543-xpfm-54cp7 Oct 2025

    Rack's unbounded multipart preamble buffering enables DoS (memory exhaustion)

    Affected
    <2.2.19 · >=3.1 <3.1.17 · >=3.2 <3.2.2
    Fixed in
    2.2.19, 3.1.17, 3.2.2
  • MediumCVE-2025-49007GHSA-47m2-26rw-j2jw5 Jun 2025

    ReDoS Vulnerability in Rack::Multipart handle_mime_head

    Affected
    >=3.1.0 <3.1.16
    Fixed in
    3.1.16
  • HighCVE-2025-46727GHSA-gjh7-p2fx-99vx8 May 2025

    Rack has an Unbounded-Parameter DoS in Rack::QueryParser

    Affected
    <2.2.14 · >=3.0 <3.0.16 · >=3.1 <3.1.14
    Fixed in
    2.2.14, 3.0.16, 3.1.14
  • HighCVE-2025-27610GHSA-7wqh-767x-r66v10 Mar 2025

    Local File Inclusion in Rack::Static

    Affected
    <2.2.13 · >=3.0 <3.0.14 · >=3.1 <3.1.12
    Fixed in
    2.2.13, 3.0.14, 3.1.12
  • MediumCVE-2025-27111GHSA-8cgq-6mh2-7j6v4 Mar 2025

    Escape Sequence Injection vulnerability in Rack lead to Possible Log Injection

    Affected
    <2.2.12 · >=3.0 <3.0.13 · >=3.1 <3.1.11
    Fixed in
    2.2.12, 3.0.13, 3.1.11
  • MediumCVE-2025-25184GHSA-7g2v-jj9q-g3rg12 Feb 2025

    Possible Log Injection in Rack::CommonLogger

    Affected
    <2.2.11 · >=3.0 <3.0.12 · >=3.1 <3.1.10
    Fixed in
    2.2.11, 3.0.12, 3.1.10
  • MediumCVE-2024-39316GHSA-cj83-2ww7-mvq73 Jul 2024

    Rack ReDoS Vulnerability in HTTP Accept Headers Parsing

    Affected
    >=3.1.0 <3.1.5
    Fixed in
    3.1.5

Every rack 3.1.x release

Affected: 3.1.0 to 3.1.22. 3.1.23 is not affected. Latest rack: 3.2.8.

VersionKnown advisories
rack 3.1.23None
rack 3.1.22CVE-2026-125111, CVE-2026-125108, CVE-2026-125109, CVE-2026-125110
rack 3.1.21CVE-2026-125111, CVE-2026-125108, CVE-2026-125109, CVE-2026-125110
rack 3.1.20CVE-2026-125111, CVE-2026-125108, CVE-2026-125109, CVE-2026-125110, CVE-2026-34835, CVE-2026-34831, CVE-2026-34830, CVE-2026-34829, CVE-2026-34763, CVE-2026-34230, CVE-2026-32762, CVE-2026-26961, CVE-2026-34827, CVE-2026-34826, CVE-2026-34786, CVE-2026-34785
rack 3.1.19CVE-2026-125111, CVE-2026-125108, CVE-2026-125109, CVE-2026-125110, CVE-2026-34835, CVE-2026-34831, CVE-2026-34830, CVE-2026-34829, CVE-2026-34763, CVE-2026-34230, CVE-2026-32762, CVE-2026-26961, CVE-2026-34827, CVE-2026-34826, CVE-2026-34786, CVE-2026-34785, CVE-2026-25500, CVE-2026-22860
rack 3.1.18CVE-2026-125111, CVE-2026-125108, CVE-2026-125109, CVE-2026-125110, CVE-2026-34835, CVE-2026-34831, CVE-2026-34830, CVE-2026-34829, CVE-2026-34763, CVE-2026-34230, CVE-2026-32762, CVE-2026-26961, CVE-2026-34827, CVE-2026-34826, CVE-2026-34786, CVE-2026-34785, CVE-2026-25500, CVE-2026-22860
rack 3.1.17CVE-2026-125111, CVE-2026-125108, CVE-2026-125109, CVE-2026-125110, CVE-2026-34835, CVE-2026-34831, CVE-2026-34830, CVE-2026-34829, CVE-2026-34763, CVE-2026-34230, CVE-2026-32762, CVE-2026-26961, CVE-2026-34827, CVE-2026-34826, CVE-2026-34786, CVE-2026-34785, CVE-2026-25500, CVE-2026-22860, CVE-2025-61919, CVE-2025-61780
rack 3.1.16CVE-2026-125111, CVE-2026-125108, CVE-2026-125109, CVE-2026-125110, CVE-2026-34835, CVE-2026-34831, CVE-2026-34830, CVE-2026-34829, CVE-2026-34763, CVE-2026-34230, CVE-2026-32762, CVE-2026-26961, CVE-2026-34827, CVE-2026-34826, CVE-2026-34786, CVE-2026-34785, CVE-2026-25500, CVE-2026-22860, CVE-2025-61919, CVE-2025-61780, CVE-2025-61772, CVE-2025-61771, CVE-2025-61770
rack 3.1.15CVE-2026-125111, CVE-2026-125108, CVE-2026-125109, CVE-2026-125110, CVE-2026-34835, CVE-2026-34831, CVE-2026-34830, CVE-2026-34829, CVE-2026-34763, CVE-2026-34230, CVE-2026-32762, CVE-2026-26961, CVE-2026-34827, CVE-2026-34826, CVE-2026-34786, CVE-2026-34785, CVE-2026-25500, CVE-2026-22860, CVE-2025-61919, CVE-2025-61780, CVE-2025-61772, CVE-2025-61771, CVE-2025-61770, CVE-2025-49007
rack 3.1.14CVE-2026-125111, CVE-2026-125108, CVE-2026-125109, CVE-2026-125110, CVE-2026-34835, CVE-2026-34831, CVE-2026-34830, CVE-2026-34829, CVE-2026-34763, CVE-2026-34230, CVE-2026-32762, CVE-2026-26961, CVE-2026-34827, CVE-2026-34826, CVE-2026-34786, CVE-2026-34785, CVE-2026-25500, CVE-2026-22860, CVE-2025-61919, CVE-2025-61780, CVE-2025-61772, CVE-2025-61771, CVE-2025-61770, CVE-2025-49007
rack 3.1.13CVE-2026-125111, CVE-2026-125108, CVE-2026-125109, CVE-2026-125110, CVE-2026-34835, CVE-2026-34831, CVE-2026-34830, CVE-2026-34829, CVE-2026-34763, CVE-2026-34230, CVE-2026-32762, CVE-2026-26961, CVE-2026-34827, CVE-2026-34826, CVE-2026-34786, CVE-2026-34785, CVE-2026-25500, CVE-2026-22860, CVE-2025-61919, CVE-2025-61780, CVE-2025-61772, CVE-2025-61771, CVE-2025-61770, CVE-2025-49007, CVE-2025-46727
rack 3.1.12CVE-2026-125111, CVE-2026-125108, CVE-2026-125109, CVE-2026-125110, CVE-2026-34835, CVE-2026-34831, CVE-2026-34830, CVE-2026-34829, CVE-2026-34763, CVE-2026-34230, CVE-2026-32762, CVE-2026-26961, CVE-2026-34827, CVE-2026-34826, CVE-2026-34786, CVE-2026-34785, CVE-2026-25500, CVE-2026-22860, CVE-2025-61919, CVE-2025-61780, CVE-2025-61772, CVE-2025-61771, CVE-2025-61770, CVE-2025-49007, CVE-2025-46727
rack 3.1.11CVE-2026-125111, CVE-2026-125108, CVE-2026-125109, CVE-2026-125110, CVE-2026-34835, CVE-2026-34831, CVE-2026-34830, CVE-2026-34829, CVE-2026-34763, CVE-2026-34230, CVE-2026-32762, CVE-2026-26961, CVE-2026-34827, CVE-2026-34826, CVE-2026-34786, CVE-2026-34785, CVE-2026-25500, CVE-2026-22860, CVE-2025-61919, CVE-2025-61780, CVE-2025-61772, CVE-2025-61771, CVE-2025-61770, CVE-2025-49007, CVE-2025-46727, CVE-2025-27610
rack 3.1.10CVE-2026-125111, CVE-2026-125108, CVE-2026-125109, CVE-2026-125110, CVE-2026-34835, CVE-2026-34831, CVE-2026-34830, CVE-2026-34829, CVE-2026-34763, CVE-2026-34230, CVE-2026-32762, CVE-2026-26961, CVE-2026-34827, CVE-2026-34826, CVE-2026-34786, CVE-2026-34785, CVE-2026-25500, CVE-2026-22860, CVE-2025-61919, CVE-2025-61780, CVE-2025-61772, CVE-2025-61771, CVE-2025-61770, CVE-2025-49007, CVE-2025-46727, CVE-2025-27610, CVE-2025-27111
rack 3.1.9CVE-2026-125111, CVE-2026-125108, CVE-2026-125109, CVE-2026-125110, CVE-2026-34835, CVE-2026-34831, CVE-2026-34830, CVE-2026-34829, CVE-2026-34763, CVE-2026-34230, CVE-2026-32762, CVE-2026-26961, CVE-2026-34827, CVE-2026-34826, CVE-2026-34786, CVE-2026-34785, CVE-2026-25500, CVE-2026-22860, CVE-2025-61919, CVE-2025-61780, CVE-2025-61772, CVE-2025-61771, CVE-2025-61770, CVE-2025-49007, CVE-2025-46727, CVE-2025-27610, CVE-2025-27111, CVE-2025-25184
rack 3.1.8CVE-2026-125111, CVE-2026-125108, CVE-2026-125109, CVE-2026-125110, CVE-2026-34835, CVE-2026-34831, CVE-2026-34830, CVE-2026-34829, CVE-2026-34763, CVE-2026-34230, CVE-2026-32762, CVE-2026-26961, CVE-2026-34827, CVE-2026-34826, CVE-2026-34786, CVE-2026-34785, CVE-2026-25500, CVE-2026-22860, CVE-2025-61919, CVE-2025-61780, CVE-2025-61772, CVE-2025-61771, CVE-2025-61770, CVE-2025-49007, CVE-2025-46727, CVE-2025-27610, CVE-2025-27111, CVE-2025-25184
rack 3.1.7CVE-2026-125111, CVE-2026-125108, CVE-2026-125109, CVE-2026-125110, CVE-2026-34835, CVE-2026-34831, CVE-2026-34830, CVE-2026-34829, CVE-2026-34763, CVE-2026-34230, CVE-2026-32762, CVE-2026-26961, CVE-2026-34827, CVE-2026-34826, CVE-2026-34786, CVE-2026-34785, CVE-2026-25500, CVE-2026-22860, CVE-2025-61919, CVE-2025-61780, CVE-2025-61772, CVE-2025-61771, CVE-2025-61770, CVE-2025-49007, CVE-2025-46727, CVE-2025-27610, CVE-2025-27111, CVE-2025-25184
rack 3.1.6CVE-2026-125111, CVE-2026-125108, CVE-2026-125109, CVE-2026-125110, CVE-2026-34835, CVE-2026-34831, CVE-2026-34830, CVE-2026-34829, CVE-2026-34763, CVE-2026-34230, CVE-2026-32762, CVE-2026-26961, CVE-2026-34827, CVE-2026-34826, CVE-2026-34786, CVE-2026-34785, CVE-2026-25500, CVE-2026-22860, CVE-2025-61919, CVE-2025-61780, CVE-2025-61772, CVE-2025-61771, CVE-2025-61770, CVE-2025-49007, CVE-2025-46727, CVE-2025-27610, CVE-2025-27111, CVE-2025-25184
rack 3.1.5CVE-2026-125111, CVE-2026-125108, CVE-2026-125109, CVE-2026-125110, CVE-2026-34835, CVE-2026-34831, CVE-2026-34830, CVE-2026-34829, CVE-2026-34763, CVE-2026-34230, CVE-2026-32762, CVE-2026-26961, CVE-2026-34827, CVE-2026-34826, CVE-2026-34786, CVE-2026-34785, CVE-2026-25500, CVE-2026-22860, CVE-2025-61919, CVE-2025-61780, CVE-2025-61772, CVE-2025-61771, CVE-2025-61770, CVE-2025-49007, CVE-2025-46727, CVE-2025-27610, CVE-2025-27111, CVE-2025-25184
rack 3.1.4CVE-2026-125111, CVE-2026-125108, CVE-2026-125109, CVE-2026-125110, CVE-2026-34835, CVE-2026-34831, CVE-2026-34830, CVE-2026-34829, CVE-2026-34763, CVE-2026-34230, CVE-2026-32762, CVE-2026-26961, CVE-2026-34827, CVE-2026-34826, CVE-2026-34786, CVE-2026-34785, CVE-2026-25500, CVE-2026-22860, CVE-2025-61919, CVE-2025-61780, CVE-2025-61772, CVE-2025-61771, CVE-2025-61770, CVE-2025-49007, CVE-2025-46727, CVE-2025-27610, CVE-2025-27111, CVE-2025-25184, CVE-2024-39316
rack 3.1.3CVE-2026-125111, CVE-2026-125108, CVE-2026-125109, CVE-2026-125110, CVE-2026-34835, CVE-2026-34831, CVE-2026-34830, CVE-2026-34829, CVE-2026-34763, CVE-2026-34230, CVE-2026-32762, CVE-2026-26961, CVE-2026-34827, CVE-2026-34826, CVE-2026-34786, CVE-2026-34785, CVE-2026-25500, CVE-2026-22860, CVE-2025-61919, CVE-2025-61780, CVE-2025-61772, CVE-2025-61771, CVE-2025-61770, CVE-2025-49007, CVE-2025-46727, CVE-2025-27610, CVE-2025-27111, CVE-2025-25184, CVE-2024-39316
rack 3.1.2CVE-2026-125111, CVE-2026-125108, CVE-2026-125109, CVE-2026-125110, CVE-2026-34835, CVE-2026-34831, CVE-2026-34830, CVE-2026-34829, CVE-2026-34763, CVE-2026-34230, CVE-2026-32762, CVE-2026-26961, CVE-2026-34827, CVE-2026-34826, CVE-2026-34786, CVE-2026-34785, CVE-2026-25500, CVE-2026-22860, CVE-2025-61919, CVE-2025-61780, CVE-2025-61772, CVE-2025-61771, CVE-2025-61770, CVE-2025-49007, CVE-2025-46727, CVE-2025-27610, CVE-2025-27111, CVE-2025-25184, CVE-2024-39316
rack 3.1.1CVE-2026-125111, CVE-2026-125108, CVE-2026-125109, CVE-2026-125110, CVE-2026-34835, CVE-2026-34831, CVE-2026-34830, CVE-2026-34829, CVE-2026-34763, CVE-2026-34230, CVE-2026-32762, CVE-2026-26961, CVE-2026-34827, CVE-2026-34826, CVE-2026-34786, CVE-2026-34785, CVE-2026-25500, CVE-2026-22860, CVE-2025-61919, CVE-2025-61780, CVE-2025-61772, CVE-2025-61771, CVE-2025-61770, CVE-2025-49007, CVE-2025-46727, CVE-2025-27610, CVE-2025-27111, CVE-2025-25184, CVE-2024-39316
rack 3.1.0CVE-2026-125111, CVE-2026-125108, CVE-2026-125109, CVE-2026-125110, CVE-2026-34835, CVE-2026-34831, CVE-2026-34830, CVE-2026-34829, CVE-2026-34763, CVE-2026-34230, CVE-2026-32762, CVE-2026-26961, CVE-2026-34827, CVE-2026-34826, CVE-2026-34786, CVE-2026-34785, CVE-2026-25500, CVE-2026-22860, CVE-2025-61919, CVE-2025-61780, CVE-2025-61772, CVE-2025-61771, CVE-2025-61770, CVE-2025-49007, CVE-2025-46727, CVE-2025-27610, CVE-2025-27111, CVE-2025-25184, CVE-2024-39316

Which of your client projects are still on rack 3.1?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact rack version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other rack versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the RubyGems registry. Refreshed daily.