CTIPilot
AI-generated · no human review · verify critical claims against the linked source. how it works →
← Back to the live brief
HIGHCVE-2026-132825NATOA2vulnerability

Ruby 4.0.10, 3.4.13 and 3.3.14: seven memory-safety flaws in the regexp engine and string case conversion, three rated Critical by the project, with proofs of concept for code execution; Veria Labs says Rails and classic Sinatra are exposed by default and announces a public Rails exploit for 25 November 2026 (CVE-2026-132825, CVSS 3.1 7.4)

Ruby 4.0.10, 3.4.13, 3.3.14 fix seven memory flaws; a Rails exploit is announced for 25 November: update the interpreter

Defender actions

  • Update the Ruby interpreter to 4.0.10, 3.4.13 or 3.3.14 on every application host, worker, CI runner and container image that runs Rails, Sinatra or other Ruby code that handles untrusted text, rebuild the images and restart the workers before Veria Labs' announced exploit of 25 November 2026, because updating a gem does not fix the interpreter and Rails is exposed in its default configuration.

Analysis

The Ruby project released 4.0.10, 3.4.13 and 3.3.14 on 2026-11-18 to fix seven vulnerabilities in the regexp engine and in string case conversion, and says it is aware of proofs of concept that prove some of them can be used to trigger remote code execution (Ruby project, 2026-11-18). NCSC.ch lists three as Critical, a one-byte heap overflow in case conversion of strings in single-byte encodings such as ISO-8859-1 and Windows-1252, a double free in regexp compilation and a heap overflow from an integer overflow in regexp compilation, and the rest as High or Moderate (NCSC.ch, 2026-11-19); the project's advisory for the first confirms it can write one byte past the output buffer (Ruby project, 2026-11-18). Most regexp flaws need an application that compiles, matches or stringifies an attacker-controlled pattern, and one needs only a crafted subject string against a fixed case-insensitive backreference pattern; the case-conversion flaw needs attacker-controlled text passed to a case-changing method (NCSC.ch, 2026-11-19). Affected are Ruby 3.3.13 and earlier, 3.4.0 to 3.4.12 and 4.0.0 to 4.0.9, and Ruby 3.2 and earlier are end of life and unfixed (Ruby project, 2026-11-18).

NCSC.ch and watchTowr say Rails and classic-style Sinatra are exposed to the case-conversion overflow in their default configuration, and watchTowr reports no exploitation as of 2026-11-19 (NCSC.ch, 2026-11-19; watchTowr, 2026-11-19). Veria Labs, which says it found the flaw independently and first demonstrated code execution, calls it Ruby2Shell, says it is reachable without authentication on Rails and classic Sinatra and that plain Rack and other frameworks are not exposed by default, and plans to publish a proof of concept for remote code execution on stock Rails on 25 November 2026, or later if major vendors have not shipped a fix (Veria Labs, 2026-11-20). Veria lists GitHub Enterprise Server 3.22.5 and earlier and Chatwoot 4.20.0 and earlier as having no fixed release, and GitLab (fixed in 19.6.1, 19.5.8 and 19.4.10), Mastodon, OpenProject and the Discourse base image as patched; the Ruby advisories name no product, so the vendors' own advisories decide for each (Veria Labs, 2026-11-20). CVE-2026-132825 names the case-conversion overflow and is scored CVSS 3.1 7.4 with a local attack vector and high complexity (ENISA EUVD, 2026-11-19); the Ruby announcement says CVE identifiers were requested and none was assigned at publication, so the other six flaws are known by GHSA id (Ruby project, 2026-11-18).

Cited evidence

We are aware of PoCs that prove some of them can be used to trigger remote code execution.

Ruby project 2026-11-18

We'll be publishing a proof of concept demonstrating remote code execution on stock Rails on 25 November 2026

Veria Labs 2026-11-20

Proof of Concepts will become available in a week.

NCSC.ch Cyber Security Hub 2026-11-19

Sources6

PROVENANCE

AI-generated · no human review · this permalink is the shareable record for the finding · verify operationally critical claims against the linked primary source.