Project

General

Profile

Actions

Defect #44783

open

Ruby2Shell (CVE-2026-132825): raise documented minimum Ruby versions and verify supported branches against patched Ruby releases

Defect #44783: Ruby2Shell (CVE-2026-132825): raise documented minimum Ruby versions and verify supported branches against patched Ruby releases

Added by Justus Middendorf about 11 hours ago. Updated about 4 hours ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Security
Target version:
-
Resolution:
Affected version:

Description

Summary

Ruby2Shell (CVE-2026-132825) is a critical vulnerability in Ruby itself, fixed in Ruby 3.3.14, 3.4.13 and 4.0.10. Redmine is affected through its Ruby runtime. As far as I can tell, none of these fixed releases is currently listed or verified for any supported Redmine branch, so administrators have no officially confirmed safe Ruby version to upgrade to.

Background

On November 18, 2026, Ruby released 3.3.14, 3.4.13 and 4.0.10, fixing seven vulnerabilities in string case conversion and the regexp engine. One of them is CVE-2026-132825 ("Ruby2Shell", GHSA-34m4-m9fh-gqp5), a one-byte heap overflow in string case conversion for single-byte encodings (e.g. ISO-8859-1, Windows-1252). It is reported to be reachable without authentication in default Rails applications. Ruby 3.2 and older will not receive a fix.

Updating Rails or other gems does not mitigate the issue; only upgrading Ruby does.

For context: the researchers have announced that they plan to publish an exploit after November 25, 2026.

Current state of the documentation

The installation guide lists supported Ruby versions as minor versions only. For each supported Redmine branch, at least one listed Ruby minor version has received a fix, but the fixed patch releases are not yet mentioned:

Redmine Supported Ruby (per guide) Fixed patch release (not yet verified with Redmine)
7.0 3.2, 3.3, 3.4, 4.0 3.3.14, 3.4.13, 4.0.10
6.1 3.2, 3.3, 3.4 3.3.14, 3.4.13
6.0 3.1, 3.2, 3.3 3.3.14

Some observations:

  • Since the fix changes string case conversion, behaviour could differ in edge cases, so compatibility may be worth confirming.
  • Ruby 3.1 and 3.2 are still listed as supported, although they will not receive a fix.
  • For Redmine 7.0, the guide recommends "Ruby 4.0.4 or later", but all Ruby 4.0 releases before 4.0.10 are vulnerable.
  • For Redmine 6.0, Ruby 3.3 is the only remaining option with a fix.

Suggestions

  1. Confirm that Redmine 6.0, 6.1 and 7.0 work with Ruby 3.3.14, 3.4.13 and 4.0.10 (e.g. by adding them to CI).
  2. Once confirmed, update the minimum versions in the installation guide to 3.3.14 / 3.4.13 / 4.0.10.
  3. Mark Ruby 3.2 and older as no longer receiving security fixes.
  4. Publish a short security notice telling administrators that upgrading Ruby is required and upgrading Redmine alone is not sufficient.
  5. Possibly enforce the minimum fixed Ruby version in the Gemfile.

Unfortunately I can't contribute code here, but we will upgrade our own instance and are happy to report back whether it runs without problems.

Thanks a lot for your work on Redmine!

References

Updated by Nico Schottelius about 4 hours ago Actions #1

Docker images

  • Additionally update all current docker images

As far as I can tell, all publicly available images are currently affected

Actions

Also available in: PDF Atom