CVE-2026-142590

Rack: `Rack::Multipart::Parser` preserves CRLF from multipart part headers in parsed parameter names (incomplete fix for CVE-2026-26962)

Published Dec 2, 2026 CVSS 3.1 · 4.8 Medium EPSS n/a KEV · Not listed
Description
Rack is a modular Ruby web server interface. Prior to 2.2.26, 3.1.24, and 3.2.9, Rack::Multipart::Parser incompletely prevents carriage return and line feed characters from multipart part headers from reaching parsed values. In Rack 3.1.16 and later and Rack 3.2, folded Content-ID values can become parameter names when Content-Disposition is missing or exceeds CONTENT_DISPOSITION_MAX_BYTES because Content-ID is not unfolded. In Rack 2.2, quoted name or filename values and Content-Type values can match across line breaks. Applications that reuse these parameter names or uploaded-file content types in response headers, log lines, or other CRLF-delimited contexts may permit header injection, response splitting, or log forgery, while Rack itself does not write these values to those sinks. Rack 3.0 is affected. This issue is fixed in versions 2.2.26, 3.1.24, and 3.2.9.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-frgv-948x-h96g Rack: `Rack::Multipart::Parser` preserves CRLF from multipart part headers in parsed parameter names (incomplete fix for CVE-2026-26962)
History
Type Values Removed Values Added
Description Rack is a modular Ruby web server interface. Prior to 2.2.26, 3.1.24, and 3.2.9, Rack::Multipart::Parser incompletely prevents carriage return and line feed characters from multipart part headers from reaching parsed values. In Rack 3.1.16 and later and Rack 3.2, folded Content-ID values can become parameter names when Content-Disposition is missing or exceeds CONTENT_DISPOSITION_MAX_BYTES because Content-ID is not unfolded. In Rack 2.2, quoted name or filename values and Content-Type values can match across line breaks. Applications that reuse these parameter names or uploaded-file content types in response headers, log lines, or other CRLF-delimited contexts may permit header injection, response splitting, or log forgery, while Rack itself does not write these values to those sinks. Rack 3.0 is affected. This issue is fixed in versions 2.2.26, 3.1.24, and 3.2.9.
Title Rack: `Rack::Multipart::Parser` preserves CRLF from multipart part headers in parsed parameter names (incomplete fix for CVE-2026-26962)
Weaknesses CWE-93
References
Metrics cvssV3_1

{'score': 4.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N'}

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Dec 2, 2026, 9:29 PM
Reserved
Dec 2, 2026, 9:19 PM
Status
Awaiting Analysis
Published
Dec 2, 2026, 10:18 PM
Modified
Dec 2, 2026, 10:18 PM