Powered by MOMENTUMMEDIA
For breaking news and daily updates, subscribe to our newsletter

2Shell2Soon: Experts expect scanning of new Ruby2Shell flaw within days

Ruby released several vulnerability-related fixes last week, including CVE-2026-132825… And it’s already picked up the usual ‘2shell’ moniker.

• Mon, 23 Nov 2026 •
2Shell2Soon: Experts expect scanning of new Ruby2Shell flaw within days

The developers of the Ruby programming language released a raft of security fixes last week, including one for a high-severity bug in Ruby versions 3.3.14, 3.4.13, and 4.0.10.

CVE-2026-132825 is a heap buffer overflow in the way Ruby changes the case of strings, and it’s likely made its way into several self-hosted products the language is bundled into, including GitLab, GitHub Enterprise Server, Mastodon, and OpenProject.

“Ruby has a one-byte heap-based buffer overflow in the case conversion of strings. Changing the case of a crafted string may allow remote code execution,” Ruby said on November 18.

 
 

“We are aware of PoCs that prove this flaw can be used to trigger RCE in some scenarios.”

The bug got its own CVE a day later, and by November 20 CVE-2026-132825 was already being referred to as Ruby2Shell.

“It’s barely been a day, and we have yet another gem with a 2Shell name. This time, it’s ‘Ruby2Shell’, the latest term for a memory corruption bug in the Ruby programming language that affects apps running versions earlier than 3.3.14, 3.4.13, and 4.0.10,” Yordan Ganchev, Principal Threat Intelligence Specialist at exposure management firm watchTowr, told Cyber Daily.

“Applications built with Ruby-based web development frameworks like Ruby on Rails, Sinatra, and Hanami are likely prime targets for attackers exploiting this vulnerability, and GitLab and GitHub are good examples of lucrative targets for exploitation.”

Ganchev added that the vulnerability is triggered when applications perform character case-conversion operations on ISO-8859-1 or Windows-1252-encoded symbols. Because of that, he believes that while the bug is very real, “indiscriminate in-the-wild exploitation is likely to be challenging.”

“Finding a vulnerable sink to trigger the vulnerability is trivial, but fully turning it into a weaponised, universal exploit that can land a shell would be challenging, to say the least. A lot of planets and stars would need to align in just the right order for an attacker to correctly apply heap feng shui to shape the memory layout,” Ganchev said.

“Attackers would also need the right non-glibc memory allocator, runtime configuration, and application logic preconditions, making exploitation even more challenging. And if that weren’t enough, they’d need to contend with anyone else hammering the system on the internet and, in the end, defeat Address Space Layout Randomisation (ASLR), making the whole journey a complete odyssey.”

Ultimately, according to Ganchev, it would take a “perfect lab environment” to easily exploit CVE-2026-132825; outside of that, “it really depends” on a whole lot of variables.

“Regardless, malformed requests can cause denial of service (DoS), disrupt services, and affect internet-exposed systems, " he said.

“Organisations with publicly facing systems should prioritise effectively based on their threat models and patch systems according to their inherent risk.”

Cyber DailyWant to see more stories from trusted news sources?
Make Cyber Daily a preferred news source on Google.
Tags: