Blog.Cloudflare Ruby ruby2shell flaw (CVE-2026-132825) patched; Cloudflare WAF blocks exploit traffic
Article Content
- •CVE-2026-132825 (ruby2shell) affects Ruby string case conversion for single-byte encodings and is fixed in Ruby 3.3.14, 3.4.13 and 4.0.10.
- •Ruby rates the flaw Critical and says it is aware of proofs of concept achieving remote code execution in some scenarios.
- •Default Ruby on Rails and classic Sinatra configurations are reported as reachable before authentication.
- •Cloudflare WAF rules block ruby2shell on all plans, but Cloudflare states this is not a substitute for upgrading Ruby.
- •Cloudflare reports no indication of compromise on its own patched systems.
The Ruby team disclosed ruby2shell (CVE-2026-132825) on November 19, 2026, describing it as a heap buffer overflow in Ruby's string case conversion, which Ruby rates. Per Cloudflare, Ruby says it is aware of proofs of concept that achieve remote code execution in some scenarios. The flaw is triggered by German sharp s (ß) in single-byte legacy encodings such as ISO-8859 and Windows-125x, where the uppercase form SS is written into a buffer sized for one character; UTF-8 strings are reported as unaffected. Veria Labs reports that default-configuration Ruby on Rails and classic-style Sinatra applications reach the bug before authentication, and that self-hosted products bundling Ruby, including GitLab, GitHub Enterprise Server, Mastodon, OpenProject, Discourse and Chatwoot, shipped an affected Ruby in their latest release at disclosure. Fixes are available in Ruby 3.3.14, 3.4.13 and 4.0.10. Cloudflare states its WAF blocks ruby2shell for all plans, including Free, via rules for ruby2shell and related GHSA-87fm-7w84-j2px, but describes the WAF as a compensating control rather than a replacement for patching. Cloudflare reports it has patched its own Ruby systems and found no indication of compromise. Veria Labs reportedly plans to publish its own proof of concept one week after disclosure.
Ask AI about this cluster
Answers cite the sources they use
Timeline
More articles in this cluster (2)
Following this threat?
Track Cloudflare and CVE-2026-132825 in your own feed — you're alerted when they show up in new reporting, leak sites or exploitation.
Free account · no card needed