CVE-2026-97229: GitLab CVSS 10 regex-to-RCE flaw in CI/CD

Written by Uptycs Threat Research | Oct 13, 2026, 4:00 PM UTC

Severity: Critical (CVSS 3.1 10.0) · Exploitation: No known exploitation · Fix available: Yes

Summary

On 8 October 2026 GitLab shipped critical patch releases 19.4.2, 19.3.4 and 19.2.8 for Community and Enterprise Editions. The headline fix, CVE-2026-97229, is a maximum-severity CVSS 10.0 flaw that lets an unauthenticated attacker execute arbitrary code on the GitLab server. GitLab describes it as an integer overflow in the CI/CD regular expression compiler; researcher joaxcar reported it through GitLab's HackerOne program. GitLab.com and GitLab Dedicated are already patched; self-managed instances running 19.1 or later are exposed until upgraded.

Technical details

A specially crafted regex in a CI/CD configuration, combined with insufficient validation, can lead to code execution on the server. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H) means network-reachable, low complexity, no privileges or user interaction, and changed scope. Each patched branch also carries two patches to the bundled Ruby 3.3 and 3.4 interpreters — a regexp "program size" fix and a repeat-range double-free fix — which suggests a memory-safety bug in Onigmo, Ruby's C regex engine, although GitLab has not formally tied them to the CVE. CI/CD constructs such as rules:if and only/except pass user-authored patterns to that parser. Full issue details normally become public 90 days after the fix.

Affected products

Impact

Exploitation status

No in-the-wild exploitation was reported at the time of writing. The advisory rates it unauthenticated, so treat every internet-facing self-managed instance as reachable and patch today.

Recommended actions

  1. Upgrade immediately to 19.4.2, 19.3.4 or 19.2.8; single-node instances will have downtime during migrations, multi-node deployments can use zero-downtime upgrades.
  2. While scheduling the upgrade, put the instance behind a VPN or IP allowlist and disable open sign-up.
  3. Hunt for compromise: Puma or Sidekiq crashes and segfaults, unexpected child processes of GitLab services, new admin users or tokens, and unusual .gitlab-ci.yml changes.
  4. If anything looks wrong, rotate CI/CD variables, runner registration tokens, deploy keys and personal access tokens.
  5. Review the other fixes in the release, especially protected-branch pipeline triggers and GitLab Duo agent usage.

How Uptycs helps

Uptycs vulnerability management identifies hosts, containers and cloud workloads running affected GitLab versions so teams can prioritize patching. Uptycs Threat Research continues to monitor this vulnerability and will update this bulletin if exploitation activity changes.

References