Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. rack
  4. ›
  5. CVE-2026-26962

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

April 2, 2026

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.

References

  • github.com/advisories/GHSA-rx22-g9mx-qrhv
  • github.com/rack/rack
  • github.com/rack/rack/security/advisories/GHSA-rx22-g9mx-qrhv
  • nvd.nist.gov/vuln/detail/CVE-2026-26962

Code Behaviors & Features

Detect and mitigate CVE-2026-26962 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.2.0 before 3.2.6

Fixed versions

  • 3.2.6

Solution

Upgrade to version 3.2.6 or above.

Impact 4.8 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection')

Source file

gem/rack/CVE-2026-26962.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:27 +0000.