Security · High impactFan score 66 · Tier A11 sources
Ruby2Shell: critical Ruby RCE, affected versions and how to fix it (GHSA-34m4-m9fh-gqp5)
The Brief · written from 11 sources
- Ruby 4.0.10, 3.4.13 and 3.3.14 were released on 2026-11-18 with fixes for seven vulnerabilities in Regexp and String case conversion.
- Ruby's maintainers say proof-of-concept exploits exist for some of the flaws and can run code on the machine.
- Affected ranges reported include Ruby 3.3.13 and earlier and 3.4.0 through 3.4.12.
Why it matters
Crafted input processed by affected Ruby versions can reportedly lead to remote code execution, and one report describes pre-authentication RCE on stock Rails. Applications on affected versions should be upgraded promptly.
Who’s affected
- Teams running Ruby 3.3.13 or earlier
- Teams running Ruby 3.4.0 through 3.4.12
- Rails applications on affected Ruby versions
What to do
- Upgrade to Ruby 4.0.10, 3.4.13 or 3.3.14, matching your release line
- Ruby 4.0.10
- Ruby 3.4.13
- Ruby 3.3.14
- #ruby
- #security
- #rce
- #regex
- #vulnerability
- #rails
Ruby2Shell is a critical Ruby flaw that can give attackers code execution. See affected versions, whether GitLab is hit, and how to upgrade and fix it. Category: Vulnerabilities & Threats
Timeline
Full coverage · 11 sources
- 15h ago ↗
Aikido Security's Blog
Ruby2Shell: critical Ruby RCE, affected versions and how to fix it (GHSA-34m4-m9fh-gqp5)
- 16h ago ↗
DEV Community: backend
Ruby security flaw threatens popular platforms and applications - 16h ago ↗
DEV Community: backend
Critical fixes in the Ruby programming language: Upgrade your applications immediately - 16h ago ↗
- 20h ago ↗
Hacker News: Front Page
Ruby2ßhell: Pre-authentication RCE on stock Rails - 1d ago ↗
Open Source Security
Ruby: multiple vulnerabilities in Regexp and String case conversion - 1d ago ↗
Ruby Weekly
Ruby patches seven memory safety bugs - 1d ago ↗
Ruby News
Ruby 4.0.10 Released - 1d ago ↗
Ruby News
Ruby 3.4.13 Released - 1d ago ↗
Ruby News
Ruby 3.3.14 Released - 1d ago ↗