Home / Dec 01, 2026 / Story
0
#10 The Hacker News general November 30, 2026 at 10:43 UTC

Critical RubyGems Flaw Could Have Let Any Gem Publisher Run Code on the Registry

By [email protected] (The Hacker News)

AI Summary

RubyGems.org patched a critical flaw that allowed any account holding a push-capable API key to inject an attacker-controlled regular expression into gem metadata during upload. Registry maintainers confirmed they chained this flaw with a memory corruption bug in Ruby's regexp compiler to achieve remote code execution on the registry itself in local testing. Ruby developers and package maintainers should audit recently published gems for signs of tampering, as the supply chain risk was significant until the fix was applied.

Relevance score: 75.0/100

# More from December 01