Security · High impactFan score 44 · Tier B18 sources
Ruby Patches Ruby2Shell Vulnerability That Could Lead to RCE
SecurityWeek · By Ionut Arghire ·
The Brief · written from 18 sources
- Ruby 4.0.10, 3.4.13 and 3.3.14 were released on 2026-11-18 to fix seven memory-safety bugs in the Regexp engine and String case conversion.
- The maintainers say they know of proof-of-concept exploits that show some of the bugs can trigger remote code execution; The Hacker News reports five of the seven have PoCs.
- The most-discussed bug, tracked as CVE-2026-132825 and GHSA-34m4-m9fh-gqp5 (Ruby2Shell), is a one-byte heap overflow in string case conversion for legacy single-byte encodings.
Why it matters
Researchers say Ruby2Shell is reachable without authentication in Rails APIs with default configuration, so teams running affected Ruby versions face a pre-authentication RCE risk and should patch promptly.
Who’s affected
- Rails API teams running default configuration
- Anyone running Ruby 3.3.13 and earlier or 3.4.0 to 3.4.12
What to do
- Upgrade to Ruby 4.0.10, 3.4.13 or 3.3.14
- Check whether your Rails API is reachable without authentication and whether it runs an affected Ruby version
- Ruby 4.0.10
- Ruby 3.4.13
- Ruby 3.3.14
- Ruby 3.3.13 and earlier
- Ruby 3.4.0 to 3.4.12
- CVE-2026-132825
- #ruby
- #security
- #rce
- #regex
- #rails
- #memory-safety
Tracked as CVE-2026-132825, the bug is a heap-based buffer overflow that could lead to remote code execution (RCE). The post Ruby Patches Ruby2Shell Vulnerability That Could Lead to RCE appeared first on SecurityWeek .
Timeline
Full coverage · 18 sources
- 8h ago ↗
SecurityWeek
Ruby Patches Ruby2Shell Vulnerability That Could Lead to RCE
- 15h ago ↗
DEV Community: backend
Rails RCE 취약점(Ruby2Shell): 내 API가 영향을 받았는지 확인하는 방법 - 15h ago ↗
DEV Community: backend
Rails RCE-Schwachstelle (Ruby2Shell): So prüfen Sie, ob Ihre API betroffen ist - 15h ago ↗
DEV Community: backend
Lỗ hổng RCE trên Rails (Ruby2Shell): Cách kiểm tra API của bạn có bị ảnh hưởng hay không - 15h ago ↗
DEV Community: backend
Vulnerabilidade de RCE no Rails (Ruby2Shell): como verificar se sua API está afetada - 16h ago ↗
Open Source Security
Re: Ruby: multiple vulnerabilities in Regexp and String case conversion - 18h ago ↗
Sourcegraph Blog
Ruby2Shell (CVE-2026-132825): find vulnerable Ruby across your repos before the proof of concept lands - 1d ago ↗
Aikido Security's Blog
Ruby2Shell: critical Ruby RCE, affected versions and how to fix it (GHSA-34m4-m9fh-gqp5) - 1d ago ↗
DEV Community: backend
Ruby security flaw threatens popular platforms and applications - 1d ago ↗
DEV Community: backend
Critical fixes in the Ruby programming language: Upgrade your applications immediately - 1d ago ↗
- 2d ago ↗
Hacker News: Front Page
Ruby2ßhell: Pre-authentication RCE on stock Rails - 2d ago ↗
Open Source Security
Ruby: multiple vulnerabilities in Regexp and String case conversion - 2d ago ↗
Ruby Weekly
Ruby patches seven memory safety bugs - 2d ago ↗
Ruby News
Ruby 4.0.10 Released - 2d ago ↗
Ruby News
Ruby 3.4.13 Released - 2d ago ↗
Ruby News
Ruby 3.3.14 Released - 2d ago ↗