Back to list

Rack's improper unfolding of folded multipart headers preserves CRLF in parsed parameter values — CVE-2026-26962

GitHub · GitHub · CVE-2026-26962

ID
CVE-2026-26962
Date
Updated
Activity
Source
GitHub
Vendor
GitHub
Threat
medium
CVSS
4.8
EPSS
0.00022

Summary

## Summary `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…

Product

rubygems: rack

What to do

General, cautious steps (verify details in the official source):

  • Review exposure and plan remediation based on risk and environment.
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Related advisories