logo

Critical Flaw in RubyGems Could Allow Hackers to Run Arbitrary Code on Package Registry Servers

ID: e3fd5e67-5bb7-5cf5-ae51-38fb1b6c89d4

STIX ID: report--e3fd5e67-5bb7-5cf5-ae51-38fb1b6c89d4

Feed Name: Cyber Press

Threat Score
65/100

Date Published: 2026-11-30

Date Updated: 2026-11-30

Author: Kavichselvan

...
...

A critical flaw in RubyGems.org's gem-push validator allowed YAML deserialization of regexp-tagged fields before ownership checks, enabling attacker-supplied regexp compilation and, when combined with a Ruby regexp compiler memory-corruption bug, potential remote code execution on upload workers; maintainers patched tag handling, restricted deserialisation, and limited pattern lengths, fixed the hosted service, found no confirmed exploitation in reviewed telemetry, and advise self-hosted operators to update and review logs.

Your team is not currently subscribed to this feed. You must subscribe to it in order to see this post.