What to do4 steps
Upgrade Ruby to 3.3.14, 3.4.13 or 4.0.10.
ruby-lang.org lists these releases. No source lists a workaround.
On Ruby 3.2 or earlier, move to a supported series.
Those releases get no fix (ruby-lang.org).
Install the vendor's release for software that bundles Ruby.
Veria Labs listed these on 21 November 2026: GitLab 19.6.1, 19.5.8 or 19.4.10; Mastodon 4.7.6, 4.6.12, 4.5.22 or 4.4.29; OpenProject 17.9.8 or 17.8.3; Chatwoot 4.20.1; Discourse base image 2.0.20261119-0203. GitHub Enterprise Server had no fixed release on that date (Veria Labs). A Discourse Docker install gets the fix by rebuilding (Cloudflare).
Restart application servers and background workers.
Then check that each running process reports a fixed Ruby (Cloudflare).
Are you affected?only if all are true
- Ruby 3.3.13 and earlier, 3.4.0 to 3.4.12 or 4.0.0 to 4.0.9. Ruby 3.2 and earlier are end of life and get no fix.
- No authentication: Veria Labs reports that Rails and classic-style Sinatra reach the bug in their default configuration.
- Other frameworks and plain Rack are not exposed by default (Veria Labs). Application code that changes the case of strings received in a legacy single-byte encoding, such as ISO-8859-1 or Windows-1252, may be.
- Not affected: UTF-8 strings, which take a different code path (Veria Labs).
Check your version
- The Ruby your app runs, not only the system one
ruby -v - The Ruby your app runs, not only the system one
bundle exec ruby -v - Container image
docker run --rm --entrypoint ruby <image> -v - Prompt for your own agent, read-onlyAm I affected by Ruby2Shell?
Read the prompt
Check whether the systems I am authorized to inspect are affected by Ruby2Shell (CVE-2026-132825). A one-byte heap overflow when Ruby changes the case of a string in some single-byte encodings; Veria Labs reports it is reachable without authentication in default Rails and classic Sinatra apps. It is exploitable under these conditions: - Ruby 3.3.13 and earlier, 3.4.0 to 3.4.12 or 4.0.0 to 4.0.9. Ruby 3.2 and earlier are end of life and get no fix. - No authentication: Veria Labs reports that Rails and classic-style Sinatra reach the bug in their default configuration. - Other frameworks and plain Rack are not exposed by default (Veria Labs). Application code that changes the case of strings received in a legacy single-byte encoding, such as ISO-8859-1 or Windows-1252, may be. - Not affected: UTF-8 strings, which take a different code path (Veria Labs). Fixed releases: - Ruby: 3.3.14 (branch 3.3), 3.4.13 (branch 3.4), 4.0.10 (branch 4.0) Ruby 3.2 and earlier have reached end of life and will not receive the fix (ruby-lang.org). Products that bundle their own Ruby need the vendor's release. Commands the catalog lists to find the version or the setting (read each one before you run it): - The Ruby your app runs, not only the system one: ruby -v - The Ruby your app runs, not only the system one: bundle exec ruby -v - Container image: docker run --rm --entrypoint ruby <image> -v What the catalog says to do on an affected system (report these, do not carry them out): 1. Upgrade Ruby to 3.3.14, 3.4.13 or 4.0.10. 2. On Ruby 3.2 or earlier, move to a supported series. 3. Install the vendor's release for software that bundles Ruby. 4. Restart application servers and background workers. For each host, container image or application, report affected, not affected, fixed or unknown, with the evidence, and list anything you could not access. Work read-only: do not change configuration, restart services or send exploit input. More: https://ruby.2shell.wtf/ruby2shell
Affected versions3 branches
| Ruby branch | Fixed in |
|---|---|
| 3.3 | 3.3.14 |
| 3.4 | 3.4.13 |
| 4.0 | 4.0.10 |
Ruby 3.2 and earlier have reached end of life and will not receive the fix (ruby-lang.org). Products that bundle their own Ruby need the vendor's release.
Proof of concept1 public PoC
For testing systems you own or are authorized to test. A PoC repository can be fake or carry malware: read it before you run it.
- Open the PoC
A third-party crash proof of concept appears on GitHub (evenomn/CVE-2026-132825): it corrupts the next heap chunk and crashes ASAN builds. It does not run code.
Timeline3 events
Patched
Ruby 3.3.14, 3.4.13 and 4.0.10 released with the advisory
Disclosed
CVE-2026-132825 published
Public PoC
A third-party crash proof of concept appears on GitHub (evenomn/CVE-2026-132825): it corrupts the next heap chunk and crashes ASAN builds. It does not run code.
Sources5 links
Sources checked on . This page tells you how to check and what to install. It cannot tell you that you are safe.
4 changes since it was published
- 'Found by' now shows one finder, Stephan Lipp (Ada Logics); Anthropic, co-credited in the advisory, is recorded as a reporter.
- Fixed the patch date to 2026-11-18, the Ruby release and advisory day; the CVE record published on 2026-11-19.
- Linked the public crash proof of concept (evenomn).
- Remediation steps got short titles; no fact changed.