Security mailing lists by PureSourceCode

CVE-2026-26961

MEDIUM 5.3CVSS 3.1

Rack's greedy multipart boundary parsing can cause parser differentials and WAF bypass.

Rack is a modular Ruby web server interface. Prior to versions 2.2.23, 3.1.21, and 3.2.6, Rack::Multipart::Parser extracts the boundary parameter from multipart/form-data using a greedy regular expression. When a Content-Type header contains multiple boundary parameters, Rack selects the last one rather than the first. In deployments where an upstream proxy, WAF, or intermediary interprets the first boundary parameter, this mismatch can allow an attacker to smuggle multipart content past upstream inspection and have Rack parse a different body structure than the intermediary validated. This issue has been patched in versions 2.2.23, 3.1.21, and 3.2.6.

Published
2 Apr 2026
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-436
Also known as
GHSA-vgpv-f759-9wx3
Sources
NVDJSONOSV GHSA-vgpv-f759-9wx3JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 LOW 3.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD rack rack
cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:*
< 2.2.23 2.2.23
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 < 2.2.23 2.2.23
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.