CVE-2026-142592
NVD
Vulnerability Summary
Rack is a modular Ruby web server interface. From 3.0.0 until 3.1.24 and 3.2.9, Rack::Multipart::Parser#tag_multipart_encoding calls Encoding.find for every charset parameter in a multipart part's Content-Type header without first checking Encoding.name_list. For an unknown name, Ruby searches each directory on $LOAD_PATH for an encoding library before raising ArgumentError, and Rack catches the exception without caching the failure or limiting repeated charset parameters. An unauthenticated attacker can send thousands of unknown charset parameters in a relatively small multipart request, occupying a worker thread for tens of seconds or longer, with cost increasing as the application's load path grows. Rack 2.2 is not affected by this denial of service because the first unknown charset aborts parsing. This issue is fixed in versions 3.1.24 and 3.2.9.
CVSS v3.1 Base Metrics — Score 7.5 (HIGH)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityNone
AvailabilityHigh
Affected & Patched Versions
- rack >= 3.0.0, < 3.1.24
- rack >= 3.2.0, < 3.2.9
No patched version published yet
Until a fix ships, reduce exposure:
- Restrict access to the affected service or interface to trusted networks.
- Disable the affected feature if you do not need it.
- Watch the vendor advisory for a firmware or software update.
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run rack and which version.
- No patched version is listed yet. Limit access to the affected service to trusted networks, and disable the feature if you can.
- Subscribe to the vendor advisory so you learn when a fix ships.
Timeline
- Dec 2, 2026Published
- Dec 2, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new rack CVEsYou are reading CVE-2026-142592. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Vendor Advisoryhttps://github.com/rack/rack/security/advisories/GHSA-58mf-c3jj-277p
- Patchhttps://github.com/rack/rack/commit/7c16c669fe2040ac395cf05a242f80527ddab16b
- Patchhttps://github.com/rack/rack/commit/8ae2ea868a13eec2cfa7065a1ea8b527c567fad9
- Referencehttps://github.com/rack/rack/releases/tag/v3.1.24
- Referencehttps://github.com/rack/rack/releases/tag/v3.2.9
Data last checked: Dec 2, 2026 21:41 UTC