# SZB-da98080f7f: RubyGems.org fixes critical flaw that could have let gem publishers run code on registry

RubyGems.org fixed a critical flaw, scored 9.0 on CVSS and tracked as GHSA-7h7w-m82c-x2xg, that could let any account with a push-capable API key reach code execution in the registry's upload path in a local test.

- Type: Early warning
- Kind: Pending CVE
- Vendor: RubyGems.org
- Product: RubyGems.org
- Status: Corroborated
- Sources: 2 distinct
- First seen: 2026-11-30 00:06 UTC

> No statement or filing from RubyGems.org has reached cve.now yet. Every claim below is quoted from, and linked to, the source that made it.

Written by a model from the sources below. Verify against them.

## Summary

RubyGems.org fixed a critical flaw, scored 9.0 on CVSS and tracked as GHSA-7h7w-m82c-x2xg, that could let any account with a push-capable API key reach code execution in the registry's upload path in a local test. The registry's advisory found no direct evidence of exploitation in telemetry and 29,100 gems, but log gaps mean earlier attempts cannot be ruled out.

## What to do

- Update self-hosted RubyGems.org installations to a commit containing the fix.
- Update Ruby to 4.0.10, 3.4.13 or 3.3.14 to receive the separate Ruby runtime fixes.
- Review the RubyGems.org security advisory GHSA-7h7w-m82c-x2xg for details.

## Timeline

- 2026-11-30 00:05 UTC: Made public by Mastodon
- 2026-11-30 00:06 UTC: First seen by cve.now

## Evidence (2 sources)

- 2026-11-30 · Social · [Mastodon](https://infosec.exchange/@DailyCyberSecurity/117702468785307257): “RubyGems.org patched a critical CVSS 9.0 RubyGems.org RCE vulnerability caused by RubyGems YAML deserialization in gem pushes.”
- 2026-11-30 · Press · [The Hacker News](https://thehackernews.com/2026/11/critical-rubygems-flaw-could-have-let.html): “RubyGems.org , the central registry for the Ruby community's gems, has fixed a critical flaw that let any account with a push-capable API key feed an attacker-controlled regular expression into the metadata of a gem upload.”

## Corrections

None so far.

Something wrong on this page? Report an error: https://github.com/sazabi/cve.now/issues/new?title=Wrong%20fact%20on%20SZB-da98080f7f&body=https%3A%2F%2Fcve.now%2FSZB-da98080f7f%0A%0AWhat%20is%20wrong%2C%20and%20the%20source%20that%20shows%20it%3A%0A

## Questions about RubyGems.org fixes critical flaw that could have let gem publishers run code on registry

### Has RubyGems.org confirmed it?

Mastodon and The Hacker News report a possible compromise. None of the sources says it happened. No statement from RubyGems.org has reached cve.now yet.

Source: https://infosec.exchange/@DailyCyberSecurity/117702468785307257, https://thehackernews.com/2026/11/critical-rubygems-flaw-could-have-let.html

### What should RubyGems.org and Ruby users do?

Update self-hosted RubyGems.org installations to a commit containing the fix. Update Ruby to 4.0.10, 3.4.13 or 3.3.14 to receive the separate Ruby runtime fixes. Review the RubyGems.org security advisory GHSA-7h7w-m82c-x2xg for details.

## Related

- Browse: [Early warnings](https://cve.now/early-warnings.md)

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/SZB-da98080f7f
Site guide for agents: https://cve.now/llms.txt

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
