SecurityWeek reports that Ruby security updates fix seven vulnerabilities, including Ruby2Shell (CVE-2026-132825), a heap-based buffer overflow in string case conversion that could lead to remote code execution in certain scenarios [1]. Veria Labs says the bug is reachable without authentication in the default configuration of Rails and classic-style Sinatra, and that GitHub Enterprise Server 3.22.5 and earlier have no fix yet [2]. Fixes ship in Ruby 3.3.14, 3.4.13 and 4.0.10, and Cloudflare says its WAF blocks the flaw for all customers [3].
Ruby 'Ruby2Shell' flaw CVE-2026-132825 enables pre-authentication remote code execution on default Rails, GitHub Enterprise Server still unpatched
2 min readLast updated
30-second summary
What happened
Who is affected
- Disclosed
- Nov 19, 2026
- Published
- Nov 26, 2026
- Last updated
- Nov 21, 2026
- CVSS basis
- Our assessment
- EPSS (chance of exploitation in 30 days)
- 2%, higher than 81% of CVEs
- Attack vector
- Vulnerability exploitation
- Impact
- No confirmed impact
- Vulnerability status
- Patch available
- Actor type
- Unknown
- Motivation
- Unknown
On this page
Affected scope
| Affected scope | Versions | Fixed in | |
|---|---|---|---|
| Ruby Ruby | >=2.4.0 <=4.0.9(修補版 3.3.14/3.4.13/4.0.10)[2] | 3.3.14 / 3.4.13 / 4.0.10 | ✓ Patched |
Do you run this product?
Add it to your systems list and we'll email you about related advisories and major updates.
Timeline
Technical details
What happened
SecurityWeek reports that Ruby security updates fix seven vulnerabilities in the regular expression engine and in string case conversion, five of which have proof-of-concept code demonstrating remote code execution [1]. CVE-2026-132825, dubbed Ruby2Shell, is a heap-based buffer overflow in string case conversion with a CVSS score of 7.4 that could lead to remote code execution in certain scenarios [1].
Technical details
Veria Labs explains that most single-byte Ruby encodings have no capital ß, so upcasing writes two bytes, SS, while only checking room for one, causing a one-byte heap overflow [2]. Cloudflare says the bug is reached through upcase, swapcase, downcase(:fold) and casecmp?, and UTF-8 strings are not affected [3].
Scope
Veria Labs says Rails and classic-style Sinatra reach the bug in their default configuration, GitHub Enterprise Server 3.22.5 and earlier have no fix, and GitLab, Mastodon, OpenProject, Chatwoot and Discourse have shipped fixes [2]. Veria Labs plans to publish a proof of concept demonstrating code execution on stock Rails on November 25 at the earliest [2]. Fixes are included in Ruby 3.3.14, 3.4.13 and 4.0.10 [1][3].
Remediation
Vendor guidance
- 1Upgrade Ruby to 3.3.14, 3.4.13 or 4.0.10 Patch[3]
Ruby 3.2 and earlier are end of life and will not receive the fix.
- 2Update self-hosted products that bundle Ruby Patch[2]
For example GitLab 19.6.1, Mastodon 4.7.6, OpenProject 17.9.8 and Chatwoot 4.20.1; GitHub Enterprise Server is still awaiting a fix.
References
Research2
- [2]Veria Labs2026-11-19Accessed 2026-11-21Snapshot 2026-11-21 sha256 a149541f5bc4
“Ruby2Shell is a one-byte heap overflow to remote code execution in Ruby's string case conversion.”
- [3]Cloudflare2026-11-20Accessed 2026-11-21Snapshot 2026-11-21 sha256 ad66a76e2216
“Cloudflare WAF blocks ruby2shell for all customers, including those on the Free plan.”
Media1
- [1]SecurityWeek2026-11-20Accessed 2026-11-21Snapshot 2026-11-26 sha256 193ca3ee525c
“At the top of the list sits CVE-2026-132825 (CVSS score of 7.4), described as a heap-based buffer overflow in the case conversion of strings that could potentially lead to RCE in certain scenarios.”
Found this useful?
Pass it to whoever runs these systems so they can patch in time.
Expert help
Still not sure whether this affects you?
Tell us about your environment. We'll check it against this advisory, assess the risk, and give you concrete patch and monitoring steps.
This site aggregates public information and is not security consulting advice. Test remediation steps before applying.