VULNERABILITY · 2026-11-30 · The Hacker News · CRITICAL
RubyGems Regex Injection Enables Authenticated RCE
60-WORD SECURITY BRIEF
RubyGems.org flaw let any push‑capable API key inject attacker‑controlled regexes into gem metadata, enabling code execution on the registry. The flaw chains regex injection with a memory‑corruption bug in Ruby’s regexp compiler, yielding unauthenticated remote code execution in local tests. RubyGems patched regex handling and compiler; users should apply the fix immediately to stop exploitation.