CVE-2026-97229: Ruby · Integer Overflow or Wraparound in GitLab
Affects rubySource GCVE Database
Exploited in the wild · KEV due 1 Nov 2026 · public exploit available (Metasploit) · fixed in 4.0.8 : patch ruby now.
Data as of 17 Nov 2026, 16:18 UTC
Thin evidence
One scorer or none| CNA (GitLab) | CVSS 3.1 | 10.0 |
|---|
- KEV deadline
- US federal agencies must patch by this date; a sensible deadline for everyone else. Other KEV due dates
- Patch
- Available – fixed in 4.0.8, 3.4.12, 3.3.13
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HExploitation evidence
t = 0 is the CVE’s publication on cve.org
Disclosed: evidence found.
CVE published 13 Oct 2026
Detectable: evidence found.
Weaponized: evidence found.
Exploited in the wildExploited: evidence found.
Listed in CISA KEV 16 days after disclosure
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
Timeline
CVE ID reserved
by GitLab Inc.
, 19 days before disclosure
CVE published
on cve.org
, t = 0
CISA SSVC assessment
exploitation active
, 16 days after disclosure
In Threat Radar
record ingested
, 16 days after disclosure
Added to CISA KEV (opens in a new tab)
exploitation confirmed
, 16 days after disclosure
KEV remediation due
US federal deadline
, 19 days after disclosure
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CISA KEV (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 16 Nov 2026.
What to do
Upgrade ruby to 4.0.8, 3.4.12 or 3.3.13.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Bitnamirubypkg:bitnami/rubyOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Apply the official patches by upgrading GitLab to versions 19.2.8, 19.3.5, or 19.4.2 or later, which include fixes for this vulnerability. Additionally, upgrade Ruby to fixed versions 3.3.13, 3.4.12, or 4.0.8 or later. Since patchAvailable is true and fixedVersions are known, remediation is available and should be applied promptly. No other mitigation steps are indicated by the vendor advisory.
Description
A critical vulnerability in GitLab CE/EE versions from 19.2 before 19.2.8, 19.3 before 19.3.5, and 19.4 before 19.4.2 allows unauthenticated users to execute arbitrary code on the GitLab server. This occurs due to insufficient validation of specially crafted regular expressions in CI/CD configurations, leading to integer overflow or wraparound issues in Ruby versions 3.3.0 to before 3.3.13, 3.4.0 to before 3.4.12, and 4.0.0 to before 4.0.8. Public exploit code is available via Metasploit. Fixed versions have been released.
References
- docs.gitlab.com/releases/patches/patch-release-gitlab-19-4-2-released/ (opens in a new tab)
- github.com/rapid7/metasploit-framework/pull/22017 (opens in a new tab)
- gitlab.com/gitlab-org/gitlab/-/work_items/630686 (opens in a new tab)
- hackerone.com/reports/4055749 (opens in a new tab)
- hackerone.com/reports/4058589 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-97229 (opens in a new tab)
- cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-97229 (opens in a new tab)
- ruby-lang.org/en/news/2026/10/23/regexp-fixes-for-gitlab-cves/ (opens in a new tab)