CVE-2026-142590
MEDIUM 4.8CVSS 3.1Rack: `Rack::Multipart::Parser` preserves CRLF from multipart part headers in parsed parameter names (incomplete fix for CVE-2026-26962)
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.
- Published
- 2 Dec 2026
- Last modified
- 2 Dec 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-93
- Also known as
- GHSA-frgv-948x-h96g
- Sources
- NVDJSONCVE ListJSONOSV GHSA-frgv-948x-h96gJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
| CVE List | GitHub_M | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | rack | rack | = < 2.2.26; = >= 3.1.16, < 3.1.24; = >= 3.2.0, < 3.2.9 | |
| OSV | RubyGems | rack | < 2.2.26 | 2.2.26 |
| OSV | RubyGems | rack | >= 3.1.16, < 3.1.24 | 3.1.24 |
| OSV | RubyGems | rack | >= 3.2.0, < 3.2.9 | 3.2.9 |
References
- https://github.com/rack/rack/commit/770241c043cb9f2d4bb9ef5f55091c0e019264d1 · x_refsource_MISC, WEB
- https://github.com/rack/rack/commit/95cf65878060577f49574190db92a807053fc08b · x_refsource_MISC, WEB
- https://github.com/rack/rack/commit/a08cec232d5ba547ad4d646bba139c96a57706b8 · x_refsource_MISC, WEB
- https://github.com/rack/rack/releases/tag/v2.2.26 · x_refsource_MISC, WEB
- https://github.com/rack/rack/releases/tag/v3.1.24 · x_refsource_MISC, WEB
- https://github.com/rack/rack/releases/tag/v3.2.9 · x_refsource_MISC, WEB
- https://github.com/rack/rack/security/advisories/GHSA-frgv-948x-h96g · x_refsource_CONFIRM, WEB
- https://github.com/rack/rack · PACKAGE
History
- 3 Dec 2026 00:30 UTC · OSV: first stored (published 2 Dec 2026)
- 2 Dec 2026 22:21 UTC · NVD: first stored (published 2 Dec 2026)
- 2 Dec 2026 21:47 UTC · CVE List: first stored (published 2 Dec 2026)