Threat Radar
Aranis
IntelNews
EXCLUSIVE DEEP DIVECríticoScore 90/100
November 30, 2026•2 min read

Critical RubyGems flaw lets code run through malicious regex in gem metadata

RubyGems.org patched a vulnerability that allowed any account holding a push‑enabled API key to embed an attacker‑controlled regular expression in a gem's metadata. Internal testing showed that chaining this issue with a memory‑corruption bug in Ruby's regex compiler led to remote code execution. The flaw was deemed critical and could have been leveraged by gem publishers.

Critical RubyGems flaw lets code run through malicious regex in gem metadata

RubyGems.org patched a vulnerability that allowed any account holding a push‑enabled API key to embed an attacker‑controlled regular expression in a gem's metadata. Internal testing showed that chaining this issue with a memory‑corruption bug in Ruby's regex compiler led to remote code execution. The flaw was deemed critical and could have been leveraged by gem publishers.

Why it matters for your organization

Security leaders should audit API key privileges and enforce strict sanitization of package registry metadata to block regex injection attacks.

Original source: The Hacker News

Recommended by Similarity

Related Content

Recommended by topic similarity, tags and risk vectors of this article

Neural Override: Python RAT with Autonomous AI Targets SCADA Systems
Crítico90/100
Palo Alto Unit 42

Neural Override: Python RAT with Autonomous AI Targets SCADA Systems

Unit 42 discovered a Python‑based remote‑access trojan that leverages large‑language models to orchestrate attacks without operator input. The malware talks to a Telegram bot, calls the OpenRouter API and includes an undisclosed component that may target industrial control environments. Its version history reveals a rapid increase in capabilities, suggesting AI‑assisted code generation.

2 min
WhatsApp forces logout of iPhone users on legacy iOS
Crítico90/100
Help Net Security

WhatsApp forces logout of iPhone users on legacy iOS

Meta announced that WhatsApp will automatically sign out accounts on iPhones running outdated iOS versions. The logout is triggered when the device shows evidence of compromise from a web‑based exploit, and re‑access is only possible after updating the OS.

2 min
German public transport ticketing apps offline for nearly a week after suspected cyberattack
Crítico90/100
The Record

German public transport ticketing apps offline for nearly a week after suspected cyberattack

A German tech vendor reported a security incident that disabled several public‑transport ticketing applications for almost a week. Riders in regions such as Berlin, Brandenburg, Bielefeld, Dresden and Mainz were unable to buy, renew or view tickets. The attacker’s identity and any data exposure remain uncertain.

2 min