CTIPilot
AI-generated · no human review · verify critical claims against the linked source. how it works →

Ruby one-byte heap overflow in string case conversion, Ruby2Shell (CVSS 3.1 7.4)

cve · CVE-2026-132825

Coverage
1
first 2026-11-20 → last 2026-11-20
Latest activity
2026-11-20
Ruby 4.0.10, 3.4.13, 3.3.14 fix seven memory flaws; a Rails exploit is announced for 25 November: update the…
Peak priority
high
1 high
Targets
public-sector
sectors: public-sector, technology
Sources cited
6
6 hosts

Action items (1)

Do-now tasks recorded on the entries about CVE-2026-132825, newest first. Check the date before acting on an older one.

  • 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.
    2026-11-20CVE-2026-132825

Defender insights

What each entry about CVE-2026-132825 tells a defender to do, newest first.

2026-11-20HIGHRuby 4.0.10, 3.4.13, 3.3.14 fix seven memory flaws; a Rails exploit is announced for 25 November: update the interpreter

Exposure · detection

Story timeline

  1. 2026-11-20Ruby 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)
    trending-vulnerabilitiesRuby 4.0.10, 3.4.13, 3.3.14 fix seven memory flaws; a Rails exploit is announced for 25 November: update the interpreter

Hunting pivots

Affected products
ATT&CK techniques (1 across 1 tactic)

1 technique observed across 1 entry about this entity, derived from entry metadata and body evidence, never asserted without a published entry behind it · pinned to MITRE ATT&CK v20.1 · compare on the matrix · Navigator layer (JSON)

  • Initial AccessExploit Public-Facing Application

Initial Access TA0001

T1190Exploit Public-Facing Application×1

Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network. The weakness in the system can be a software bug, a temporary glitch, or a misconfiguration.

Evidence: 2026-11-20/ruby-4-0-10-regexp-case-conversion-memory-flaws · ATT&CK page ↗

Entries about Ruby one-byte heap overflow in string case conversion, Ruby2Shell (CVSS 3.1 7.4) (1)

2026-11-20 · view entry permalink →

HIGHCVE-2026-132825NATOA2

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)

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).

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
vulnerability20 Nov 05:07Zmulti-sourceOpen finding →

Co-occurring entities

Derived: referenced by the same focused operational entries (weekly summaries and report roundups don't count); ×N counts the shared entries.

Where this entity is cited

  • Vulns1

Source distribution

  • euvdservices.enisa.europa.eu1 (17%)
  • github.com1 (17%)
  • ruby-lang.org1 (17%)
  • security-hub.ncsc.admin.ch1 (17%)
  • verialabs.com1 (17%)
  • watchtowr.com1 (17%)