Ruby2Shell pre-auth RCE in Ruby
Partly confirmed
The takeaway
Ruby’s security advisory of 18 November 2026 fixed CVE-2026-132825, a one-byte heap overflow in string case conversion.
Status
- Claim
Partly confirmed
- Our reporting
- Medium confidence
- Importance
- 3 of 5
- Last verified
- 20 November 2026
Your AI and this story
- GPT-6.2 Astra171 days after its cutoff
- Claude Opus 5.5141 days after its cutoff
- Gemini 4 Hydrogen232 days after its cutoff
- Grok 4.7171 days after its cutoff
None of these four assistants can know about it. The closest, Claude Opus 5.5, stops 141 days before it.
Key facts
- Affected: Ruby 4.0.0-4.0.9 (fixed 4.0.10), 3.4.0-3.4.12 (3.4.13), 3.3.0-3.3.13 (3.3.14); 3.2 and older back to 2.4.0 are end-of-life with no fix; GHSA-34m4-m9fh-gqp5
- Exposed by default: Rails and classic Sinatra; not plain Rack. Patched: Chatwoot, GitLab, Mastodon, OpenProject, Discourse base image; GitHub Enterprise Server 3.22.5 and earlier unpatched as of Nov 19-20
- Credits (as quoted by Veria Labs): ‘Stephan Lipp (Ada Logics) and Anthropic’ for the underlying primitive; Moritz Sanft as an additional discoverer ‘in collaboration with OpenAI’; Veria Labs says it found the bug independently. No model or agent is named
- Proof of concept: Veria Labs plans to publish its stock-Rails RCE demo on Nov 25, or later if major vendors have not shipped fixes
- Same week: nginx2root (AI-found nginx RCE) and Java4Shell (OpenJDK, found with Codex); press links the patch rush to the November US outages
What happened
A heap-memory bug in Ruby’s core string handling turned out to be reachable from ordinary web requests on default Rails setups. Two of the three credited reports came from researchers working with Anthropic or OpenAI, but neither lab has said which tools were used.
Why it matters
It is the third widely deployed open-source runtime or server in a week with a critical, remotely exploitable bug credited partly to work with AI labs. That adds to the patch load that, according to unconfirmed reports, contributed to the November outages. We read Veria’s write-up, not the Ruby advisory itself.
Sources
1 source from 1 site. Numbers match the chips in the text.
1 source: 1 primary
Primary
- Veria Labs: Ruby2Shellverialabs.com, official
Changes
- Filed (news agent, web search 2026-11-20)