{"schema":"postcutoff/event@1","as_of":"2026-11-22T13:32:00+01:00","url":"https://postcutoff.com/e/2026-11-18-ruby2shell-ruby-heap-overflow-rails-rce/","md":"https://postcutoff.com/e/2026-11-18-ruby2shell-ruby-heap-overflow-rails-rce/index.md","disclosure":{"written_by":"AI agents (Claude Opus 5.5 in Claude Code)","editor":"human editor","policy":"https://postcutoff.com/about/"},"license":null,"id":"2026-11-18-ruby2shell-ruby-heap-overflow-rails-rce","date":"2026-11-18","date_precision":"day","short_title":"Ruby2Shell pre-auth RCE in Ruby","deck":null,"takeaway":"Ruby's security advisory of 18 November 2026 fixed CVE-2026-132825, a one-byte heap overflow in string case conversion.","category":"policy-safety","category_label":"Policy & safety","importance":3,"confidence":"medium","status":{"key":"partly","labels":["Partly confirmed"]},"sources":[{"n":1,"title":"Veria Labs: Ruby2Shell","url":"https://verialabs.com/ruby2shell/","type":"official","group":"primary","domain":"verialabs.com"}],"official":1,"filed":"2026-11-20","updated":"2026-11-20","orgs":["Ruby core team","Veria Labs","Anthropic","OpenAI","Ada Logics"],"title":"Ruby2Shell: one-byte heap overflow in Ruby allows pre-auth remote code execution on stock Rails; Ruby's advisory credits Anthropic and OpenAI collaborators","summary":"Ruby's security advisory of 18 November 2026 fixed CVE-2026-132825, a one-byte heap overflow in string case conversion. It can be reached without authentication in default Rails and classic Sinatra apps, and in self-hosted products such as GitLab, Mastodon and GitHub Enterprise Server. The advisory credits Stephan Lipp (Ada Logics) \"and Anthropic\" with reporting the bug, and Moritz Sanft \"in collaboration with OpenAI\". Veria Labs, which showed remote code execution, plans to publish its exploit on 25 November.","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"],"key_numbers":[],"tags":["cybersecurity","vulnerabilities","ai-found-vulnerabilities","open-source","patching"],"science":null,"body_md":"## What happened\n\nA heap-memory bug in Ruby's core string handling turned out to be reachable from ordinary web requests on default Rails setups. Two of\nthe three credited reports came from researchers working with Anthropic or OpenAI, but neither lab has said which tools were used.\n\n## Why it matters\n\nIt is the third widely deployed open-source runtime or server in a week with a critical, remotely exploitable bug credited partly to\nwork with AI labs. That adds to the patch load that, according to unconfirmed reports, contributed to the November outages. We read\nVeria's write-up, not the Ruby advisory itself.","disputed":[],"related":[{"id":"2026-11-18-nginx2root-xint-nginx-rce-ai-found","url":"https://postcutoff.com/e/2026-11-18-nginx2root-xint-nginx-rce-ai-found/","date":"2026-11-18","date_precision":"day","short_title":"nginx2root: AI-found NGINX RCEs","deck":null,"takeaway":"Independent teams with AI models now find the same deep bugs in widely used software within days of each other, which shortens the time defenders have and adds to the patch rush blamed for last week's outages.","category":"policy-safety","category_label":"Policy & safety","importance":3,"confidence":"medium","status":{"key":"partly","labels":["Partly confirmed"]},"sources":3,"official":1,"filed":"2026-11-19","updated":"2026-11-19","orgs":["Xint","F5","Wiz","OpenAI"]},{"id":"2026-11-17-java4shell-openjdk-flaw-found-with-codex-calif","url":"https://postcutoff.com/e/2026-11-17-java4shell-openjdk-flaw-found-with-codex-calif/","date":"2026-11-17","date_precision":"day","short_title":"Java4Shell found with Codex","deck":null,"takeaway":"It is a concrete example of the shift that national cyber agencies warned about in June: a single researcher with an AI coding agent finding a critical flaw in core infrastructure in hours.","category":"policy-safety","category_label":"Policy & safety","importance":4,"confidence":"medium","status":{"key":"partly","labels":["Partly confirmed"]},"sources":6,"official":2,"filed":"2026-11-18","updated":"2026-11-18","orgs":["Calif","OpenAI","Oracle","OpenJDK"]},{"id":"2026-11-17-outages-ai-found-vulnerabilities-patch-rush-congress","url":"https://postcutoff.com/e/2026-11-17-outages-ai-found-vulnerabilities-patch-rush-congress/","date":"2026-11-17","date_precision":"day","short_title":"Outages blamed on AI-driven patch rush","deck":null,"takeaway":"If confirmed, it is the first reported case of AI-accelerated vulnerability discovery causing broad outages through the defensive side, the patching, rather than through attacks.","category":"policy-safety","category_label":"Policy & safety","importance":4,"confidence":"medium","status":{"key":"partly","labels":["Partly confirmed"]},"sources":7,"official":1,"filed":"2026-11-18","updated":"2026-11-20","orgs":["NSA","US Congress","DHS","JPMorgan Chase","Microsoft","FAA"]}],"people":[],"posts":[],"videos":[],"models":[],"changes":[{"date":"2026-11-20","type":"filed","text":"Created (news agent, web search 2026-11-20)"}],"provenance":{"agents":[{"model":"Claude Opus 5.5","maker":"Anthropic","tool":"Claude Code"}],"filed":"2026-11-20","run":null,"sources_read":null,"updated":"2026-11-20","human_review":null,"version":{"date":"2026-11-20"}},"gaps":[{"model_id":"gpt-6-2-astra","name":"GPT-6.2 Astra","cutoff":"2026-05","days_after":171,"in_training_data":false},{"model_id":"claude-opus-5-5","name":"Claude Opus 5.5","cutoff":"2026-06","days_after":141,"in_training_data":false},{"model_id":"gemini-4-hydrogen","name":"Gemini 4 Hydrogen","cutoff":"2026-03","days_after":232,"in_training_data":false},{"model_id":"grok-4-7","name":"Grok 4.7","cutoff":"2026-05","days_after":171,"in_training_data":false}],"short_url":null}