CVSS 3.1
10.0 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HCritical (10.0) in GitLab Community Edition and Enterprise Edition. In CISA KEV since 2026-10-29. EPSS 69% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HExplain CVE-2026-97229 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-97229?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-97229?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-97229 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| GitLab | from 19.2 before 19.2.8 |
| GitLab | from 19.3 before 19.3.5 |
| GitLab | from 19.4 before 19.4.2 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | ruby3.1 | no fix listed | DEBIAN-CVE-2026-97229 |
| Debian | 13 | ruby3.3 | 3.3.13-0+deb13u1 | DEBIAN-CVE-2026-97229 |
| Debian | 14 | ruby3.3 | no fix listed | DEBIAN-CVE-2026-97229 |
| Ubuntu | 16.04:LTS | gitlab | no fix listed | UBUNTU-CVE-2026-97229 |
| Red Hat | enterprise_linux:9::appstream | ruby, ruby-doc, ruby-libs and 7 more | 0:3.3.13-10.module+el9.8.0+25291+d44bc40f | RHSA-2026:96068 |
| Red Hat | enterprise_linux:9::appstream | ruby, ruby-doc, ruby-libs and 7 more | 0:4.0.9-36.module+el9.8.0+25290+d0128763 | RHSA-2026:96120 |
| Red Hat | enterprise_linux:9::appstream | ruby, ruby-libs, ruby-devel and 4 more | 0:3.0.7-170.el9_8 | RHSA-2026:96067 |
| Red Hat | enterprise_linux:9::appstream | rubygem-bigdecimal, rubygem-bigdecimal-debuginfo | 0:3.0.0-170.el9_8 | RHSA-2026:96067 |
| Red Hat | enterprise_linux:9::appstream | rubygem-bigdecimal, rubygem-bigdecimal-debuginfo | 0:3.1.5-10.module+el9.8.0+25291+d44bc40f | RHSA-2026:96068 |
| Red Hat | enterprise_linux:9::appstream | rubygem-bigdecimal, rubygem-bigdecimal-debuginfo | 0:4.0.1-36.module+el9.8.0+25290+d0128763 | RHSA-2026:96120 |
| Red Hat | enterprise_linux:9::appstream | rubygem-bundler | 0:2.2.33-170.el9_8 | RHSA-2026:96067 |
| Red Hat | enterprise_linux:9::appstream | rubygem-bundler | 0:2.5.22-10.module+el9.8.0+25291+d44bc40f | RHSA-2026:96068 |
| Red Hat | enterprise_linux:9::appstream | rubygem-io-console, rubygem-io-console-debuginfo | 0:0.5.7-170.el9_8 | RHSA-2026:96067 |
| Red Hat | enterprise_linux:9::appstream | rubygem-io-console, rubygem-io-console-debuginfo | 0:0.7.1-10.module+el9.8.0+25291+d44bc40f | RHSA-2026:96068 |
| Red Hat | enterprise_linux:9::appstream | rubygem-io-console, rubygem-io-console-debuginfo | 0:0.8.2-36.module+el9.8.0+25290+d0128763 | RHSA-2026:96120 |
| Red Hat | enterprise_linux:9::appstream | rubygem-irb | 0:1.13.1-10.module+el9.8.0+25291+d44bc40f | RHSA-2026:96068 |
| 71 more for Red Hat in the JSON and on Red Hat's page. | ||||
| openSUSE | Tumbleweed | ruby4.0 | 4.0.9-1.1 | openSUSE-SU-2026:12252-1 |
| AlmaLinux | 9 | ruby, ruby-doc, ruby-libs and 2 more | 3.0.7-170.el9_8 | ALSA-2026:96067 |
| AlmaLinux | 9 | rubygem-bigdecimal | 3.0.0-170.el9_8 | ALSA-2026:96067 |
| AlmaLinux | 9 | rubygem-bundler | 2.2.33-170.el9_8 | ALSA-2026:96067 |
| AlmaLinux | 9 | rubygem-io-console | 0.5.7-170.el9_8 | ALSA-2026:96067 |
| AlmaLinux | 9 | rubygem-irb | 1.3.5-170.el9_8 | ALSA-2026:96067 |
| AlmaLinux | 9 | rubygem-json | 2.5.1-170.el9_8 | ALSA-2026:96067 |
| AlmaLinux | 9 | rubygem-minitest | 5.14.2-170.el9_8 | ALSA-2026:96067 |
| AlmaLinux | 9 | rubygem-mysql2, rubygem-mysql2-doc | 0.5.5-3.module_el9.7.0+184+e2e36072 | ALSA-2026:96068 |
| AlmaLinux | 9 | rubygem-mysql2, rubygem-mysql2-doc | 0.5.7-1.module_el9.8.0+232+50f6dd36 | ALSA-2026:96120 |
| AlmaLinux | 9 | rubygem-pg, rubygem-pg-doc | 1.5.4-2.module_el9.7.0+245+447713a2 | ALSA-2026:96068 |
| AlmaLinux | 9 | rubygem-pg, rubygem-pg-doc | 1.6.3-1.module_el9.8.0+232+50f6dd36 | ALSA-2026:96120 |
| AlmaLinux | 9 | rubygem-power_assert | 1.2.1-170.el9_8 | ALSA-2026:96067 |
| 30 more for AlmaLinux in the JSON. | ||||
| Rocky Linux | 9 | ruby | 0:3.0.7-170.el9_8 | RLSA-2026:96067 |
| Rocky Linux | 9 | rubygem-mysql2 | 0:0.5.5-3.module+el9.7.0+40032+36e56d0d | RLSA-2026:96068 |
| Rocky Linux | 9 | rubygem-mysql2 | 0:0.5.7-1.module+el9.8.0+40094+ce01217c | RLSA-2026:96120 |
| Rocky Linux | 9 | rubygem-pg | 0:1.5.4-2.module+el9.7.0+40188+314ad260.0.1 | RLSA-2026:96068 |
| Rocky Linux | 9 | rubygem-pg | 0:1.6.3-1.module+el9.8.0+40094+ce01217c | RLSA-2026:96120 |
| Rocky Linux | 10 | ruby | 0:3.3.13-16.el10_2 | RLSA-2026:96235 |
| Rocky Linux | 10 | ruby4.0 | 0:4.0.9-38.el10_2 | RLSA-2026:96233 |
| Alpine | v3.21 | ruby | 3.3.13-r0 | ALPINE-CVE-2026-97229 |
| Alpine | v3.22, v3.23, v3.24 | ruby | 3.4.12-r0 | ALPINE-CVE-2026-97229 |
| Azure Linux | 3 | ruby | 3.3.13-0 | AZL-111074 |
| Alpaquita | 23 | ruby | 3.3.13-r0 | BELL-CVE-2026-97229 |
| Alpaquita | 25, stream | ruby | 3.4.12-r0 | BELL-CVE-2026-97229 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE · Alpine · Alpaquita.
Red Hat rates this Critical.
Red Hat has rated the impact of these flaws as Moderate for the Ruby packages shipped in Red Hat Enterprise Linux. The Ruby packages provide a language interpreter and standard library and do not accept external input on their own; these flaws are reachable only when an application compiles a regular expression constructed from attacker-controlled input.
Upstream Ruby has published a security advisory for these issues and scopes the flaws narrowly, stating that they "are reached only when an application compiles a regular expression from a string that an attacker controls, for example by passing it to Regexp.new, Regexp.union or Regexp.compile", and that "applications that only use regular expressions written by their own developers are not affected". Upstream further notes that Ruby "has generally considered it unsafe to compile and use a regular expression created from untrusted input".
The CVE identifiers for these flaws were assigned by GitLab, where the issues were originally reported and where remote code execution was demonstrated against GitLab's own application. Ruby did not request separate identifiers and has asked downstream distributors to track these issues under GitLab's CVE IDs.
To mitigate this vulnerability, do not compile regular expressions from untrusted sources. Standard safeguards such as Regexp.timeout or limiting the length of the input pattern do not protect against this issue.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 9 | ruby-0:3.0.7-170.el9_8 | Fixed 2026-11-09 | RHSA-2026:96067 |
| Red Hat Enterprise Linux 9 | ruby:3.3-9080020261105110750.9 | Fixed 2026-11-09 | RHSA-2026:96068 |
| Red Hat Enterprise Linux 9 | ruby:4.0-9080020261105110139.9 | Fixed 2026-11-09 | RHSA-2026:96120 |
| Red Hat Satellite 6.16 for RHEL 8 | openvox-agent-0:8.32.0-1.el8sat | Fixed 2026-11-05 | RHSA-2026:95655 |
| Red Hat Satellite 6.16 for RHEL 8 | python-pyyaml-0:6.0.1-1.el8pc | Fixed 2026-11-05 | RHSA-2026:95655 |
| Red Hat Satellite 6.16 for RHEL 9 | openvox-agent-0:8.32.0-1.el9sat | Fixed 2026-11-05 | RHSA-2026:95655 |
| Red Hat Satellite 6.16 for RHEL 9 | python-pyyaml-0:6.0.1-1.el9pc | Fixed 2026-11-05 | RHSA-2026:95655 |
| Red Hat Satellite 6.17 for RHEL 9 | openvox-agent-0:8.32.0-1.el9sat | Fixed 2026-11-05 | RHSA-2026:95656 |
| Red Hat Satellite 6.18 for RHEL 9 | openvox-agent-0:8.32.0-1.el9sat | Fixed 2026-11-05 | RHSA-2026:95657 |
| Red Hat Satellite 6.19 for RHEL 9 | openvox-agent-0:8.32.0-1.el9sat | Fixed 2026-11-05 | RHSA-2026:95652 |
| Red Hat Hardened Images | ruby3-4-main-3.4.12-33.1.hum1 | Fixed 2026-10-23 | RHSA-2026:88861 |
| Red Hat Enterprise Linux 10 | ruby | Affected | |
| Red Hat Enterprise Linux 10 | ruby4.0 | Affected | |
| Red Hat Enterprise Linux 6 | ruby | Affected | |
| Red Hat Enterprise Linux 7 | ruby | Affected | |
| Red Hat Enterprise Linux 8 | ruby:2.5/ruby | Affected | |
| Red Hat Enterprise Linux 8 | ruby:3.3/ruby | Affected | |
| Red Hat Hardened Images | hi/ruby | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-9 | Not affected | |
| Red Hat OpenShift Container Platform 5 | openshift/ose-rhel-coreos-9 | Not affected | |
| 2 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-97229.
Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.
Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.