CVE Catalog

CVE-2026-142590

MediumCVSS 4.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.48%

43th percentile - higher than 43% of all known CVEs

Summary

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 CR and LF 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. 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.

Risk Assessment

This may allow an attacker to perform HTTP header injection, response splitting, or log forgery in applications that reuse these values.

Recommendation

Update Rack to versions 2.2.26, 3.1.24, or 3.2.9 and avoid using multipart parameter names and content types in headers and logs without validation.

Other vulnerabilities in Rack

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS