[TLP:CLEAR] Alert: Critical vulnerability in Ruby (ruby2ßhell)

we warn of a critical vulnerability in Ruby 2.4.0 - 4.0.9, dubbed ruby2ßhell, that allows an unauthenticated remote attacker to execute arbitrary code remotely in applications built on Rails or Sinatra (classic style) with default settings. Applications that convert the case of strings in legacy single-byte encodings may also be affected. The vulnerability has been fixed in versions 3.3.14, 3.4.13 and 4.0.10. Series 3.2 and older are end-of-life and will not be fixed. Self-hosted software bundling its own Ruby (e.g. GitLab, GitHub Enterprise Server, Mastodon, OpenProject, Discourse, Chatwoot) needs an update from its vendor. The vulnerability has no CVE yet and a proof of concept is to be published in a week [1].


By CESNET, z.s.p.o. Henrieta Paločková on 19. 11. 2026.

CESNET, z.s.p.o. Logo