Skip to main content

"Ruby2Shell" Pre-Auth Flaw Hits Default Rails and Sinatra Apps, Public Exploit Expected Today (CVE-2026-132825)

Scope: Ruby interpreter, versions 3.3.0 through 3.3.13, 3.4.0 through 3.4.12, and 4.0.0 through 4.0.9, fixed in 3.3.14, 3.4.13, and 4.0.10**

Severity: Amber

Ruby's security team patched seven memory-safety flaws in its regular expression engine and string case-conversion code on November 18, 2026. Security firm Veria Labs named the most severe one Ruby2Shell, a one-byte heap buffer overflow in Ruby's native string case conversion that researchers found is reachable over the network with no authentication whatsoever, in the default configuration of Ruby on Rails applications and classic-style Sinatra applications. A separate independent research team working with OpenAI confirmed working pre-authentication exploits against a freshly generated, unmodified Rails application, underlining that this affects default framework behaviour rather than requiring any unusual configuration. Because the flaw lives in the Ruby interpreter itself rather than in Rails, Sinatra, or any other gem, updating those frameworks alone does nothing to fix it, only updating Ruby itself closes the gap. The flaw's defect dates back to Ruby 2.4.0, and it also affects several end-of-life Ruby branches that will not receive a fix at all. No confirmed in-the-wild exploitation has been reported as of this writing, but Veria Labs has stated it plans to publish working exploit code publicly today, November 25, which will substantially shorten the time until real attacks likely begin. Organisations running Ruby on Rails or Sinatra applications must update their underlying Ruby interpreter to 3.3.14, 3.4.13, or 4.0.10 today, specifically confirming the interpreter version itself has changed rather than only updating application-level gems.

The Uganda National CERT and Coordination Center (CERT.UG/CC) encourages users and administrators to review the recommendations and apply the necessary updates.