Skip to main content
CVE-2026-142592VulnerabilityPublished

travis · Rack: Multipart parser searches the load path for every unknown part `charset`, allowing denial of service via CPU

Affects travisSource GCVE Database

0
Compare
Authoritative record:CVE-2026-142592· High 7.5

Not known to be exploited · CVSS 7.5 High · fixed in 3.1.24 : patch travis soon.

Data as of 4 Dec 2026, 20:28 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.17.5
Patch
Available – fixed in 3.1.24, 3.2.9
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Dec 2026.

What to do

Upgrade rack to 3.1.24; rack to 3.2.9.

Affected software

ProductAffectedFixed in
Homebrewtravispkg:brew/travisOther threatsAffected
  • >=1.14.0
Fixed in–
RubyGemsrackpkg:gem/rackOther threatsAffected
  • 3.0.0 – 3.1.23
  • >=3.0.0 <3.1.24
47 affected builds
Fixed in
  • 3.1.24
RubyGemsrackpkg:gem/rackOther threatsAffected
  • 3.2.0 – 3.2.8
  • >=3.2.0 <3.2.9
9 affected builds
Fixed in
  • 3.2.9

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Update to a patched version of Rack where Encoding.find is only called for charset names present in Encoding.name_list, mapping unknown charset values directly to binary without load path searches. Additionally, at reverse proxies, limit the size of multipart requests and reject requests with many repeated charset parameters in part headers to reduce attack surface.

Description

A denial of service vulnerability exists in Rack versions 3.0, 3.1, and 3.2 due to inefficient handling of unknown charset parameters in multipart request parts. The Rack multipart parser calls Ruby's Encoding.find for each charset parameter, which triggers expensive load path searches when the charset is unknown. This allows an attacker to craft multipart requests with many unknown charset parameters, causing high CPU usage and significant request processing delays, potentially exhausting server resources.

References

Community reviews

Loading reviews…