cybersecuritynews.com·30 november 2026
Critical RubyGems Vulnerability Could Let Attackers Execute Code on Package Registry Servers

CVSS 4.0
CWE-502
Cyber Security News
deserialization
gem metadata
GHSA-7h7w-m82c-x2xg
Monero miners
November 26, 2026
regular expressions
remote code execution
Ruby
RubyGems
RubyGems.org
security advisory
vulnerability
cybersecuritynews.com
RubyGems.org disclosed a critical package upload flaw that could allow authenticated attackers to execute code on registry servers by exploiting gem metadata processing. The flaw, demonstrated in a local test using Ruby 4.0.9, has a CVSS 4.0 score of 9.0 but no known CVE identifier. Maintainers found no direct evidence of exploitation on the public registry. The fix rejects regular expressions in gemspec fields and limits Ruby object creation by the parser. Teams running self-hosted RubyGems.org deployments should update to a code revision containing the fix.
