Menu

1 / 5

Ruby2Shell: How to Find Every Ruby Your Servers Actually Run

DEV Community: rails·jamilxt·7 days ago
#qctUm5lZ
#devtorails#devto#dev#ruby#version
Long article (2384 words) — no AI summary yet.
Reading 0:00
15s threshold

On November 18, 2026, the Ruby team released Ruby 4.0.10, 3.4.13 and 3.3.14 to fix seven memory safety bugs. One of them now has a name: Ruby2Shell , tracked as CVE-2026-132825. Veria Labs, one of the teams that found it, says it reaches remote code execution on a stock Rails app before any login. They plan to publish a proof of concept on November 25, 2026 , or later if major vendors have not shipped a fix by then.

The obvious fix is "upgrade Ruby." The catch is that many servers run more than one Ruby. There is the one your package manager installed and the ones your version manager added. There are the ones inside your containers. And there are the ones that products like GitLab ship in their own install folders. apt upgrade only touches the first.

This guide walks through how to find all of them, decide which ones are affected, and what to do while you wait for vendors. It is based on the Ruby advisory, the researchers' write-ups, Cloudflare's analysis, and vendor release notes, all linked inline.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.