Security mailing lists by PureSourceCode

CVE-2026-34827

HIGH 7.5CVSS 3.1

Rack's multipart header parsing allows Denial of Service via escape-heavy quoted parameters

Rack is a modular Ruby web server interface. From versions 3.0.0.beta1 to before 3.1.21, and 3.2.0 to before 3.2.6, Rack::Multipart::Parser#handle_mime_head parses quoted multipart parameters such as Content-Disposition: form-data; name="..." using repeated String#index searches combined with String#slice! prefix deletion. For escape-heavy quoted values, this causes super-linear processing. An unauthenticated attacker can send a crafted multipart/form-data request containing many parts with long backslash-escaped parameter values to trigger excessive CPU usage during multipart parsing. This results in a denial of service condition in Rack applications that accept multipart form data. This issue has been patched in versions 3.1.21 and 3.2.6.

Published
2 Apr 2026
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-400CWE-407CWE-770
Also known as
GHSA-v6x5-cg8r-vv6x
Sources
NVDJSONOSV GHSA-v6x5-cg8r-vv6xJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD rack rack
cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:*
>= 3.0.0, < 3.1.21 3.1.21
NVD rack rack
cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:*
>= 3.2.0, < 3.2.6 3.2.6
OSV RubyGems rack >= 3.0.0.beta1, < 3.1.21 3.1.21
OSV RubyGems rack >= 3.2.0, < 3.2.6 3.2.6

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 2 Apr 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 2 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.