Vulnerability
Published 2026-10-12
Updated 2026-11-02
Verified 2026-11-02

GitLab CE/EE CVE-2026-97229 (CVSS 10.0): unauthenticated RCE via integer overflow in the CI/CD Regular Expression Compiler — patch to 19.4.2 / 19.3.5 / 19.2.8

GitLab published a critical patch release on 12 October 2026 (versions 19.4.2, 19.3.4 and 19.2.8 for Community Edition and Enterprise Edition) remediating CVE-2026-97229, an integer overflow in the CI/CD Regular Expression Compiler that, under certain conditions, could let an unauthenticated attacker execute arbitrary code on the GitLab server through a specially crafted regular expression in a CI/CD configuration. GitLab rates it CVSS 3.1 10.0 (AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H).

Impacted self-managed installs are all CE/EE versions from 19.2 before 19.2.8, from 19.3 before 19.3.5, and from 19.4 before 19.4.2. GitLab.com is already patched; GitLab Dedicated customers do not need to act.

The advisory does not state that the flaw has been exploited in the wild. Researcher joaxcar reported it via HackerOne. GitLab's advisory now titles the release 19.4.2, 19.3.5 and 19.2.8 and lists the affected 19.3 range as before 19.3.5; it says 19.3.4 had a bug that affected merge request pages when the Ona integration was enabled, fixed in 19.3.5.

The same release also ships other High/Medium fixes (XSS in syntax highlighting, several authorization issues, Duo Agent Platform input neutralization, and more) — this card is the Critical regex RCE only.

UPDATE (22 Oct): GitLab fixed a separate, further regular-expression-compiler flaw, CVE-2026-110264 (CVSS 10.0, all versions from 7.0 affected), on 21 October in 19.5.1, 19.4.3, 19.3.6, 19.2.9, 19.1.9, 19.0.10 and 18.11.13; see the CVE-2026-110264 card.

UPDATE (29 Oct 2026, Perth; Alpine Linux; GitLab): Alpine Linux said on 28 October that on 20 and 21 October an attacker tried to exploit CVE-2026-97229 on its GitLab instance, which was still running 19.3.4 without the 12 October fix; crafted CI configurations from a newly registered account crashed GitLab worker processes 8 times, and in 4 of those crashes the attacker got partway through the exploit and failed at the next step.

Alpine says it found no evidence the attack succeeded but cannot rule it out, so it treated the instance as compromised, rebuilt it, reset all passwords and replaced GitLab's secret keys, and that its aports repository, packages and 21 October releases were not tampered with and no signing keys were on the GitLab server.

Alpine also says its upgrade to GitLab 19.3.6 on 22 October did not fix the flaw, because the fix is a set of patches to the Ruby that GitLab bundles only in its official packages and container images; the underlying bug is in Ruby's Onigmo regular-expression engine, fixed upstream on 23 October in Ruby 3.3.13, 3.4.12 and 4.0.9, so installations that run GitLab with their own Ruby (from source or a custom container image) also need one of those Ruby releases or later.

As of 29 October, GitLab's advisory lists six threat detections released to help self-managed customers detect exploitation attempts. (source: Alpine Linux; GitLab)

UPDATE (30 Oct 2026, Perth; CISA): CISA added CVE-2026-97229 ("GitLab Community Edition and Enterprise Edition Integer Overflow or Wraparound vulnerability") to its Known Exploited Vulnerabilities catalog on 29 October 2026 based on evidence of active exploitation, with a remediation due date of 1 November 2026 for US federal civilian agencies. (source: CISA)

UPDATE (2 Nov 2026, Perth; BleepingComputer): according to BleepingComputer (2 Nov), Shadowserver said it is tracking over 1,000 GitLab instances vulnerable to CVE-2026-97229 and over 11,300 vulnerable to CVE-2026-110264, out of around 39,000 GitLab instances it sees daily. (source: BleepingComputer)

Product
GitLab Community Edition (CE) and Enterprise Edition (EE) — CI/CD Regular Expression Compiler
Versions
Affected: CE/EE from 19.2 before 19.2.8, 19.3 before 19.3.5, 19.4 before 19.4.2. Fixed: 19.4.2, 19.3.5, 19.2.8 (GitLab advisory as of 22 Oct). GitLab.com already patched; Dedicated no action.
CVSS
(GitLab, CVSS 3.1)
Exploited in Australia?
unknown
Patch to
Upgrade self-managed GitLab CE/EE immediately to 19.4.2, 19.3.5 or 19.2.8 or later; GitLab's 21 Oct releases (19.5.1, 19.4.3, 19.3.6, 19.2.9, 19.1.9, 19.0.10, 18.11.13) also fix the separate CVE-2026-110264. GitLab.com and Dedicated need no customer action for this advisory. If you run GitLab with your own Ruby (from source or a custom container image) rather than GitLab's packages, also upgrade Ruby to 3.3.13, 3.4.12, 4.0.9 or later; upgrading GitLab alone is not enough (Alpine Linux). Alpine's alpinelinux/gitlab:19.3.6 image published 27 October contains Ruby 3.3.13; earlier pulls and older tags are vulnerable (Alpine Linux).

vulnerabilities cloud