---
title: Hunt: Ruby2Shell probes arrive as multipart POSTs with a _method part declaring ISO-8859-x or Windows-125x and a run of 'ß' (0xDF) bytes; watch for Ruby worker crashes | ctxsec
url: https://ctxsec.com/items/hunt-ruby2shell-multipart-method-override-legacy-charset-sharp-s-run-rails-sinatra-puma-crashes
description: "Per Veria Labs and Cloudflare, the default-config path into CVE-2026-132825 is Rack MethodOverride upcasing the _method field before routing. That means a POST with Content-Type multipart/form-data whose _method part carries a charset such as ISO-8859-1 or Windows-1252 and 21 or more 0xDF bytes. Legitimate _method values are short ASCII words (PUT, PATCH, DELETE), so anything longer is suspicious. A failed attempt usually corrupts the heap and crashes the worker."
status: "detection guide (based on Veria Labs, Cloudflare and Red Hat technical details, Nov 20-21, 2026); no in-the-wild exploitation reported yet"
published: 2026-11-21
---

> Per Veria Labs and Cloudflare, the default-config path into CVE-2026-132825 is Rack MethodOverride upcasing the _method field before routing. That means a POST with Content-Type multipart/form-data whose _method part carries a charset such as ISO-8859-1 or Windows-1252 and 21 or more 0xDF bytes. Legitimate _method values are short ASCII words (PUT, PATCH, DELETE), so anything longer is suspicious. A failed attempt usually corrupts the heap and crashes the worker.

[← Threat Hunting](/hunting) · [markdown](/items/hunt-ruby2shell-multipart-method-override-legacy-charset-sharp-s-run-rails-sinatra-puma-crashes.md)

detection guide (based on Veria Labs, Cloudflare and Red Hat technical details, Nov 20-21, 2026); no in-the-wild exploitation reported yet

2026-11-21 7:49 AM ET

### Hunt: Ruby2Shell probes arrive as multipart POSTs with a _method part declaring ISO-8859-x or Windows-125x and a run of 'ß' (0xDF) bytes; watch for Ruby worker crashes

- **WAF/proxy logs:** flag multipart bodies where the _method part has a charset parameter or is longer than about 10 bytes; Cloudflare's managed rule is named 'Ruby - Heap Overflow - CVE:CVE-2026-132825'.
- **App hosts:** alert on Puma/Unicorn/Passenger worker segfaults, '[BUG]' or 'malloc(): corrupted' lines in Ruby logs, and rising worker restarts after Nov 25, when the PoC is due.
- **Post-exploitation:** Ruby processes spawning sh, bash, curl or wget, or opening outbound connections they never made before.
- Other paths (email parsing, imports, background jobs) won't show up in HTTP logs; patching is the only full fix.

Sources: [Veria Labs: Ruby2Shell (CVE-2026-132825), affected software table (updated Nov 21, 2026 03:52 UTC)](https://verialabs.com/ruby2shell/) · [Cloudflare: How Cloudflare WAF protects against ruby2shell (CVE-2026-132825) (Nov 20, 2026)](https://blog.cloudflare.com/ruby2shell-waf-protection/) · [Red Hat RHSB-2026-021: One-byte heap overflow - ruby (CVE-2026-132825) "ruby2shell" (Nov 20, 2026)](https://access.redhat.com/security/vulnerabilities/RHSB-2026-021)
