Skip to content
Ruby ruby2shell flaw (CVE-2026-132825) patched; Cloudflare WAF blocks exploit traffic

Ruby ruby2shell flaw (CVE-2026-132825) patched; Cloudflare WAF blocks exploit traffic

First seen 21 Nov 2026, 14:21 UTC • •

Article Content

Browse articles
ThreatCluster AI
ThreatCluster •November 21, 2026 at 14:22 UTC

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.

Start a free Starter trial for enhanced analysis

Ask AI about this cluster

Timeline

2026-11-19
ruby2shell (CVE-2026-132825) disclosed
Ruby team disclosed a heap buffer overflow in string case conversion, rated Critical, with fixes in Ruby 3.3.14, 3.4.13 and 4.0.10.
Blog.Cloudflare
2026-11-20
First public proof of concept
Public proof-of-concept activity recorded one day after disclosure, per the CVE record.
Blog.Cloudflare
Recent
Cloudflare WAF rules added for all plans
Rules for ruby2shell and GHSA-87fm-7w84-j2px added to Free and standard managed rulesets with Block as default action.
Blog.Cloudflare

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

Common questions

Am I affected?
Installations running an affected Ruby version that use single-byte legacy encodings are at risk, and Rails or classic Sinatra apps are reported to be reachable by default. Check your Ruby version against the fixed releases 3.3.14, 3.4.13 and 4.0.10.
Is the WAF enough protection?
No. Cloudflare describes its WAF rules as a compensating control, since exploits can reach the bug through paths the WAF does not inspect, and upgrading Ruby is the only complete fix.
What should we do first?
Upgrade Ruby to 3.3.14, 3.4.13 or 4.0.10, or the patched release of any bundled product such as GitLab or Mastodon. Enable WAF rules as an interim measure if patching must wait.