GitLab has released security updates for its self-managed Community and Enterprise editions to fix CVE-2026-132825, a heap-based buffer overflow in the Ruby interpreter bundled with the platform. The company shipped versions 19.6.1, 19.5.8 and 19.4.10 on November 20, addressing the flaw known as Ruby2Shell, which may allow remote code execution under certain conditions.
GitLab’s critical patch advisory lists all versions before 19.4.10, 19.5 releases before 19.5.8, and 19.6 releases before 19.6.1 as affected. GitLab.com and GitLab Dedicated are already running patched code, and the company’s official Linux packages and container images include the fixed Ruby runtime.
The issue is in Ruby’s string case-conversion code rather than GitLab’s own application code. The Ruby security advisory describes a one-byte heap-based buffer overflow in string case conversion. Changing the case of a crafted string may allow remote code execution. The Ruby team said it was aware of proof-of-concept code that can trigger RCE in some scenarios and rated the vulnerability Critical. GitLab notes that MITRE assigns CVE-2026-132825 a CVSS 3.1 score of 7.4, or High.
GitLab says self-compiled installations must rebuild the Ruby runtime used to run GitLab with Ruby 3.3.14 or 3.4.13, or a later release in the same minor series. The patch releases also include fixes for the other vulnerabilities disclosed in Ruby’s security advisory, which covers issues in the regular-expression engine and string case conversion.



