← Vulnerabilities

ExploitedCVSS 10.0 (Critical)AdvisoryGitLab

[Exploited] CVE-2026-97229: GitLab Community Edition and Enterprise Edition Integer Overflow or Wraparound Vulnerability

VulnPulse explainer

GitLab CVE-2026-97229 is under attack; its sibling CVE-2026-110264 reaches back to 7.0

A flaw in how GitLab CE/EE compiles regular expressions from CI/CD settings can let an attacker with no account run code on the server. CISA put it in the KEV list on 2026-10-29 as exploited and gave US federal agencies until 11-01 to act.

Contents
  1. Who is affected
  2. In plain words
  3. How it works
  4. How the attack unfolds
  5. What to do
  6. Not yet known
  7. Sources

Who is affected

Self-managed GitLab CE/EE. CVE-2026-97229 itself covers the 19.2, 19.3 and 19.4 lines below 19.2.8, 19.3.5 and 19.4.2. The closely related CVE-2026-110264 (CVSS 10.0), however, covers nearly every release since 7.0, so 19.1, 18.11 and older are exposed too. GitLab has already fixed GitLab.com and GitLab Dedicated. GitLab on a Ruby you installed yourself, and other Ruby apps that build regexes from outside input, also need a Ruby update. Per the Ruby team, GitLab fixed the copy of Ruby it ships in its own packages.

In plain words

Picture a clerk who sizes a box from a number on an order form, but miscounts when the number is huge and then stuffs in more than the box holds. The overflow spills onto the next shelf and overwrites it, and an instruction that should never run ends up running.

How it works

GitLab compiles user-written regular expressions, such as those in CI/CD settings, with Onigmo, the regex engine inside Ruby. Per the Ruby team, compiling a crafted pattern can make the size calculation for the compiled pattern wrap around (integer overflow, CWE-190) and corrupt memory. GitLab found this can be turned into code execution without logging in and scored it CVSS 10.0. Between September and October GitLab issued four CVEs for this family of bugs: CVE-2026-89078, 93577, 97229 and 110264. Only 97229 is in KEV; 110264 comes from a different Ruby bug, where internal IDs overflow in patterns with many repeats. Ruby notes that Regexp.timeout and pattern length limits do not stop these bugs.

How the attack unfolds

  1. The attacker gets a crafted regular expression into GitLab through CI/CD configuration, without logging in
  2. While GitLab compiles it, a size calculation wraps around and memory gets corrupted
  3. The corrupted memory is used to run the attacker's code on the GitLab server

What to do

  • Self-managed admins: move to the newest patch from 2026-10-29: 19.5.3, 19.4.5, 19.3.7 or 19.2.10 (19.1.10, 19.0.11 or 18.11.14 on those lines). They are newer than the 10-21 releases that fixed CVE-2026-110264 (19.5.1, or 19.4.3 on 19.4 and 18.11.13 on 18.11), so that fix is in them too
  • Admins on 19.1, 18.11 or older: even if CVE-2026-97229 does not apply, CVE-2026-110264 does. No fix exists for lines older than 18.11, so upgrade to a supported release at 18.11.14 or later
  • Admins: check for signs of attack as well as patching. In its 19.4.2 and 19.5.1 notices GitLab published detection rules for self-managed instances, such as crashes of the Onigmo native worker
  • GitLab.com and GitLab Dedicated users: GitLab has applied the fix; nothing to do on your side
  • Admins running GitLab on their own Ruby, and developers of Ruby apps that turn outside input into regexes: upgrade Ruby to 4.0.9, 3.4.12, 3.3.13 or later. Until then, do not compile regexes from untrusted input
  • US federal agencies: act by 2026-11-01 under CISA BOD 26-04

Not yet known

  • Who is exploiting it and how widely. Neither CISA nor GitLab has said, and CISA lists ransomware use as unknown
  • Which settings or setups the advisory's 'under certain conditions' refers to
  • Whether CVE-2026-110264, or the related CVE-2026-89078 and 93577, are being exploited. As of 2026-10-30 none of them is in KEV

Sources

Written in our own words by VulnPulse from the original article and public sources. Check the sources for authoritative details. Updated:

Original notice (source text)

GitLab Community Edition and Enterprise Edition GitLab Community Edition and Enterprise Edition contain a integer overflow or wraparound vulnerability that could allow an unauthenticated user to execute arbitrary code on the GitLab server via a specially crafted regular expression in a CI/CD configuration, due to insufficient regular expression validation.

Read on CISA Known Exploited Vulnerabilities

On 10/30/2026, 04:45 AM, CISA Known Exploited Vulnerabilities published "[Exploited] CVE-2026-97229: GitLab Community Edition and Enterprise Edition Integer Overflow or Wraparound Vulnerability" (type: Advisory). CISA lists it as known exploited (KEV). The vendor / NVD rating is CVSS 10.0 (Critical). Related technologies: GitLab. CVE: CVE-2026-97229.