What’s Vulnerable › Vulnerabilities

CVE-2026-26962: Rack: Header injection in multipart requests

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

How to fix

Upgrade to a fixed version: rack 3.2.6. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-26962 or the next vulnerability affects your stack