Why it matters
Operators of Ruby applications, including Rails and Sinatra apps and self-hosted products like GitLab, Discourse and Mastodon, should upgrade to Ruby 3.3.14, 3.4.13 or 4.0.10; WAF rules are only a compensating control.
Primary source
How Cloudflare WAF protects against ruby2shell (CVE-2026-132825) Cloudflare Blog
CVE-2026-132825
- Severity
- 7.4 High · CVSS 3.1 · Mitre
- Exploited
- Not in CISA’s catalog
- Published
- ruby-lang Ruby
Affected: before 3.3.14; 3.4.0 to before 3.4.13; 4.0.0 to before 4.0.10
Fixed: 3.3.14; 3.4.13; 4.0.10
news.ycombinator.com · ruby-lang.org · github.com · CVE record · NVD
What we know
Confirmed by several sources
- Ruby patched ruby2shell, tracked as CVE-2026-132825. — Cloudflare Blog, SecurityWeek
- The flaw is a heap-based buffer overflow that could lead to remote code execution. — Cloudflare Blog, SecurityWeek
Reported by one source
- The Ruby team disclosed the flaw on November 19, 2026, rated it Critical and is aware of proofs of concept achieving RCE in some scenarios. — Cloudflare Blog
- Fixes shipped in Ruby 3.3.14, 3.4.13 and 4.0.10. — Cloudflare Blog
- Veria Labs reports Rails and classic-style Sinatra applications reach the bug in default configuration before authentication. — Cloudflare Blog
- GitLab, GitHub Enterprise Server, Mastodon, OpenProject, Discourse and Chatwoot shipped an affected Ruby in their latest release at disclosure time. — Cloudflare Blog
- Cloudflare added Block-by-default rules for ruby2shell and the related integer overflow GHSA-87fm-7w84-j2px to its Free Managed Ruleset and Managed Ruleset. — Cloudflare Blog
- Cloudflare says exploits can reach the bug through paths a WAF does not see, so patching is required. — Cloudflare Blog
Open questions
- It is not yet clear whether ruby2shell is being actively exploited in the wild. — Cloudflare Blog
Coverage 2 publishers
SecurityWeekFirst report
Ruby Patches Ruby2Shell Vulnerability That Could Lead to RCE
Tracked as CVE-2026-132825, the bug is a heap-based buffer overflow that could lead to remote code execution (RCE).
Cloudflare BlogPrimary source
How Cloudflare WAF protects against ruby2shell (CVE-2026-132825)
On November 19, 2026, the Ruby team disclosed ruby2shell (CVE-2026-132825), a heap buffer overflow in the way Ruby changes the case of strings. Ruby rates the flaw Critical and says it is aware of proofs of concept that achieve remote code…
Earliest report first. Articles stay on their publishers’ sites; each link opens the original.
