p PatchFirst

CVE-2026-32762

CVE-2026-32762 · Rack: Forwarded Header semicolon injection enables Host and Scheme spoofing

CVSS 4.8 · Medium · EPSS 0.2% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • rackNo fix published
  • ruby-rack Debian 13Update to 3.1.20-0+deb13u2
  • ruby-rack Debian 14Update to 3.2.6-2
  • rack RubyGemsUpdate to 3.1.21
  • and 2 more

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="ruby-rack"'
gem list --exact rack

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

Rack is a modular Ruby web server interface. From versions 3.0.0.beta1 to before 3.1.21 and 3.2.0 to before 3.2.6, Rack::Utils.forwarded_values parses the RFC 7239 Forwarded header by splitting on semicolons before handling quoted-string values. Because quoted values may legally contain semicolons, a header can be interpreted by Rack as multiple Forwarded directives rather than as a single quoted for value. In deployments where an upstream proxy, WAF, or intermediary validates or preserves quoted Forwarded values differently, this discrepancy can allow an attacker to smuggle host, proto, for, or by parameters through a single header value. This issue has been patched in versions 3.1.21 and 3.2.6.

Published
Updated

Fixes in distributions

  • USN-8989-1 · Ubuntu 26.04 LTS ·
  • DSA-6492-1 · Debian 13 ·
  • USN-8182-1 · Ubuntu 24.04 LTS, Ubuntu 25.10, Ubuntu Pro 14.04 LTS, Ubuntu Pro 16.04 LTS, Ubuntu Pro 18.04 LTS, Ubuntu Pro 20.04 LTS, Ubuntu Pro 22.04 LTS ·

Stack: system · ruby

Affected products and versions

  • rack

    Versions
    • >= 3.0.0.beta1, < 3.1.21: Affected
    • >= 3.2.0, < 3.2.6: Affected

    No fix published

  • ruby-rack Debian 13

    Versions
    • 3.1.16-0.1
    • 3.1.18-1
    • 3.1.18-1~deb13u1
    • 3.1.20-0+deb13u1
    Affected ranges
    • ECOSYSTEM: < 3.1.20-0+deb13u2

    Update to 3.1.20-0+deb13u2

  • ruby-rack Debian 14

    Versions
    • 3.1.16-0.1
    • 3.1.18-1
    • 3.1.18-1~deb13u1
    • 3.2.4-1
    • 3.2.5-1
    • 3.2.5-2
    All versions (7)
    • 3.2.6-1
    Affected ranges
    • ECOSYSTEM: < 3.2.6-2

    Update to 3.2.6-2

  • rack RubyGems

    Versions
    • 3.0.0
    • 3.0.0.beta1
    • 3.0.0.rc1
    • 3.0.1
    • 3.0.10
    • 3.0.11
    All versions (46)
    • 3.0.12
    • 3.0.13
    • 3.0.14
    • 3.0.15
    • 3.0.16
    • 3.0.17
    • 3.0.18
    • 3.0.2
    • 3.0.3
    • 3.0.4
    • 3.0.4.1
    • 3.0.4.2
    • 3.0.5
    • 3.0.6
    • 3.0.6.1
    • 3.0.7
    • 3.0.8
    • 3.0.9
    • 3.0.9.1
    • 3.1.0
    • 3.1.1
    • 3.1.10
    • 3.1.11
    • 3.1.12
    • 3.1.13
    • 3.1.14
    • 3.1.15
    • 3.1.16
    • 3.1.17
    • 3.1.18
    • 3.1.19
    • 3.1.2
    • 3.1.20
    • 3.1.3
    • 3.1.4
    • 3.1.5
    • 3.1.6
    • 3.1.7
    • 3.1.8
    • 3.1.9
    Affected ranges
    • ECOSYSTEM: ≥ 3.0.0.beta1, < 3.1.21

    Update to 3.1.21

  • rack RubyGems

    Versions
    • 3.2.0
    • 3.2.1
    • 3.2.2
    • 3.2.3
    • 3.2.4
    • 3.2.5
    Affected ranges
    • ECOSYSTEM: ≥ 3.2.0, < 3.2.6

    Update to 3.2.6

  • ruby-rack Ubuntu 25.10

    Versions
    • 2.2.7-1.1
    • 3.1.16-0.1
    • 3.1.16-0.1ubuntu0.1
    • 3.1.16-0.1ubuntu0.2
    Affected ranges
    • ECOSYSTEM: < 3.1.16-0.1ubuntu0.3

    Update to 3.1.16-0.1ubuntu0.3

  • ruby-rack Ubuntu 26.04 LTS

    Versions
    • 3.1.16-0.1
    • 3.1.18-1
    • 3.1.18-1build1
    • 3.2.4-1ubuntu1
    Affected ranges
    • ECOSYSTEM: < 3.2.4-1ubuntu1.1

    Update to 3.2.4-1ubuntu1.1

Original sources

Check your server →