
Researchers at Veria Labs published a write-up on 19 November 2026 showing that CVE-2026-132825, which they call "Ruby2Shell", is "reachable without authentication in common Ruby web frameworks and self-hosted software". They say Ruby on Rails is affected in its default configuration, as are classic-style Sinatra apps. Other frameworks and plain Rack are not exposed by default, but app code that changes the case of strings in a legacy encoding can be.
The bug is a one-byte heap overflow in Ruby's string case conversion (upcase, swapcase, downcase(:fold), casecmp?) for several single-byte ISO-8859 and Windows-125x encodings; UTF-8 strings are not affected. It dates back to Ruby 2.4.0. Ruby fixed it on 18 November in 4.0.10, 3.4.13 and 3.3.14, together with six other regex and string flaws, and rates it critical; the CVE record scores it 7.4 (High). Ruby 3.2 and older are end-of-life and get no fix. Updating Rails, Rack or Sinatra gems does not help: the fix is in the Ruby interpreter.
The bigger problem is software that ships its own Ruby. Veria Labs lists GitLab 19.6.0 and earlier, GitHub Enterprise Server 3.22.5 and earlier and Chatwoot 4.20.0 and earlier as vulnerable with no fixed release. Its table, updated 19 November, lists fixes for Mastodon (4.7.6, 4.6.12, 4.5.22, 4.4.29), OpenProject (17.9.8, 17.8.3) and the Discourse base image (2.0.20261119-0203). Cyber Kendra reported that it found no vendor patches as of 20 November, so check each vendor's own release notes.
No attacks have been reported, and the flaw is not in CISA's KEV catalogue. But Ruby says it knows of proof-of-concept exploits that reach code execution, and Veria Labs plans to publish its own for stock Rails on 25 November, or later if major vendors have not shipped fixes. Who found it is disputed: Ruby's advisory credits Stephan Lipp of Ada Logics and Anthropic, while a researcher working with OpenAI says they reported the same bug on 5 November and, according to Cyber Kendra, published pre-auth exploits against a fresh Rails app on 19 November.

