Skip to content
OpenAdvisories
Medium · 4.8 CVE-2026-26962 EUVD-2026-18417GHSA-rx22-g9mx-qrhv

Rack: Header injection in multipart requests

Published Apr 2, 2026 · Updated Apr 3, 2026 · Assigned by GitHub_M

Description

Rack is a modular Ruby web server interface. From version 3.2.0 to before version 3.2.6, Rack::Multipart::Parser unfolds folded multipart part headers incorrectly. When a multipart header contains an obs-fold sequence, Rack preserves the embedded CRLF in parsed parameter values such as filename or name instead of removing the folded line break during unfolding. As a result, applications that later reuse those parsed values in HTTP response headers may be vulnerable to downstream header injection or response splitting. This issue has been patched in version 3.2.6.

Affected products

VendorProductAffectedFixed
rack rack >= 3.2.0, < 3.2.6 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ruby-rack 3.2.6-2 —
Debian 13 ruby-rack 3.1.20-0+deb13u2 —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS ruby-rack 3.2.4-1ubuntu1.1 USN-8989-1
Ubuntu 25.10 ruby-rack 3.1.16-0.1ubuntu0.3 —
Ubuntu 24.04 LTS ruby-rack 2.2.7-1ubuntu0.7 —
Ubuntu 22.04 LTS ruby-rack No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS ruby-rack No fix yet —
Ubuntu Pro 18.04 LTS ruby-rack No fix yet —
Ubuntu Pro 16.04 LTS ruby-rack No fix yet —
Ubuntu Pro 14.04 LTS ruby-rack No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP6 rmt-server 2.27-150500.3.47.1 SUSE-SU-2026:2487-1
SLES 15 SP5 rmt-server 2.27-150500.3.47.1 SUSE-SU-2026:2487-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 rmt-server 3.1.0-160000.1.1 SUSE-SU-2026:23321-1
SLES for SAP 15 SP6 rmt-server 2.27-150500.3.47.1 SUSE-SU-2026:2487-1
SLES for SAP 15 SP5 rmt-server 2.27-150500.3.47.1 SUSE-SU-2026:2487-1
SLES 16.0 rmt-server 3.1.0-160000.1.1 SUSE-SU-2026:23321-1
SLE HPC 15 SP5 rmt-server 2.27-150500.3.47.1 SUSE-SU-2026:2487-1
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 rmt-server 3.1.0-160000.1.1 openSUSE-SU-2026:21640-1

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems rack >= 3.2.0, < 3.2.6 3.2.6 GHSA-rx22-g9mx-qrhv

Advisories 4

References