Defect #44783
closedRuby2Shell (CVE-2026-132825): raise documented minimum Ruby versions and verify supported branches against patched Ruby releases
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¶
- 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).
- Once confirmed, update the minimum versions in the installation guide to 3.3.14 / 3.4.13 / 4.0.10.
- Mark Ruby 3.2 and older as no longer receiving security fixes.
- Publish a short security notice telling administrators that upgrading Ruby is required and upgrading Redmine alone is not sufficient.
- 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¶
- "Ruby security advisory: multiple vulnerabilities in Regexp and String case conversion": https://www.ruby-lang.org/en/news/2026/11/18/multiple-vulnerabilities-in-regexp-and-string/
- CVE-2026-132825: https://www.cve.org/CVERecord?id=CVE-2026-132825
- RedmineInstall
Updated by Nico Schottelius 16 days ago
Docker images¶
- Additionally update all current docker images
As far as I can tell, all publicly available images are currently affected
Updated by Go MAEDA 16 days ago
Thank you for the detailed report.
In my view, keeping Ruby up to date is the responsibility of each Redmine installation, in the same way as keeping the operating system and database server up to date. A vulnerability in Ruby itself cannot be fixed or mitigated in Redmine. What Redmine can do is make sure it keeps working with the current releases of each supported Ruby series. Please see my comments on each suggestion below.
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).
The "Supported Ruby versions" column in RedmineInstall lists the Ruby series that each Redmine version works with. It is not a list of recommended or security-maintained Ruby versions. Patch releases within a series are expected to be compatible, so I do not think it is necessary to verify or list each patch release separately. If you find any problem with Redmine on one of these releases, please report it as a separate issue.
2. Once confirmed, update the minimum versions in the installation guide to 3.3.14 / 3.4.13 / 4.0.10.
Listing specific patch releases in the guide would mean updating it every time Ruby publishes a security release. Instead, I have updated the footnote in RedmineInstall to give a general recommendation that stays valid:
Use the latest release of a maintained Ruby series, or a distribution package that receives security updates. See https://www.ruby-lang.org/en/downloads/branches/ for the maintenance status.
3. Mark Ruby 3.2 and older as no longer receiving security fixes.
The footnote above links to the Ruby branches page, which is the authoritative source for the maintenance status of each Ruby version. Support for Ruby 3.2 has been dropped in trunk (#44359), so the next major version of Redmine will require Ruby 3.3 or later.
4. Publish a short security notice telling administrators that upgrading Ruby is required and upgrading Redmine alone is not sufficient.
Redmine security notices cover vulnerabilities in Redmine itself. Security advisories for Ruby are published by the Ruby team, and administrators should follow those directly.
5. Possibly enforce the minimum fixed Ruby version in the
Gemfile.
I do not think this is a good idea. Many installations use Ruby packages from their OS distribution, such as Debian, Ubuntu or RHEL. These packages often include security fixes without changing the Ruby version number. A minimum patch version in the Gemfile would prevent Redmine from starting on those fixed installations. It would also prevent administrators who are aware of the risk from temporarily running an older Ruby release when they cannot upgrade immediately.
Updated by Go MAEDA 16 days ago
Nico Schottelius wrote in #note-1:
- Additionally update all current docker images
As far as I can tell, all publicly available images are currently affected
The "redmine" image on Docker Hub is one of the Docker Official Images, a program run by Docker. "Official" here means official on Docker Hub, not official from the Redmine project. The image is maintained by the Docker Official Images maintainers, not by the Redmine team. Please report issues with the image to its repository: https://github.com/docker-library/redmine