CVE-2026-97229: 
GitLab vulnerability analysis and mitigation

Overview

CVE-2026-97229 is a critical remote code execution (RCE) vulnerability in GitLab Community Edition (CE) and Enterprise Edition (EE) caused by insufficient regular expression validation in the CI/CD configuration compiler. An unauthenticated attacker can exploit this flaw by submitting a specially crafted regular expression in a CI/CD configuration, potentially achieving arbitrary code execution on the GitLab server. Affected versions include 19.2 before 19.2.8, 19.3 before 19.3.5, and 19.4 before 19.4.2. The vulnerability was disclosed on October 13, 2026, and carries a CVSS v3.1 base score of 10.0 (Critical) (GitHub Advisory, GitLab Patch Release).

Technical details

The root cause is classified as CWE-190 (Integer Overflow or Wraparound), mapped to CAPEC-92 (Forced Integer Overflow). The vulnerability resides in GitLab's CI/CD configuration parser and regular expression compiler: when processing a specially crafted regex pattern, an integer overflow occurs during compilation, which under certain conditions can be leveraged to achieve arbitrary code execution on the server. The attack requires no authentication, no user interaction, and no special privileges — an attacker only needs network access to a vulnerable GitLab instance and the ability to submit a .gitlab-ci.yml configuration containing a malicious regex. Two HackerOne reports (4055749 and 4058589) are referenced in the advisory, and a technical analysis has been published by community researchers (GitHub Advisory, Dev.to Analysis).

Impact

Successful exploitation grants an unauthenticated remote attacker full arbitrary code execution on the GitLab server with the scope marked as Changed, meaning the impact extends beyond the vulnerable component itself. The confidentiality, integrity, and availability impacts are all rated High, meaning an attacker could exfiltrate source code and secrets, tamper with repositories and CI/CD pipelines, disrupt service availability, and potentially pivot to internal infrastructure connected to the GitLab instance. Given GitLab's role as a central DevOps platform, compromise could expose credentials, API keys, and deployment secrets stored in CI/CD variables, enabling broad lateral movement across an organization's software supply chain (GitHub Advisory, Rapid7 ETR).

Exploitability

As of the time of disclosure, there is no confirmed public proof-of-concept exploit and no evidence of active in-the-wild exploitation (Feedly Intelligence). The EPSS score is reported at 0.0, reflecting the early stage of the vulnerability's public lifecycle. The vulnerability has not yet been added to the CISA Known Exploited Vulnerabilities (KEV) catalog based on available data. However, the maximum CVSS score of 10.0, the unauthenticated network attack vector, and the low attack complexity make this a high-priority target for weaponization, and the security community has flagged it as trending (BleepingComputer, Rapid7 ETR).

Exploitation steps

  1. Reconnaissance: Identify internet-facing GitLab CE/EE instances running versions 19.2.x (before 19.2.8), 19.3.x (before 19.3.5), or 19.4.x (before 19.4.2) using tools such as Shodan, Censys, or FOFA by searching for GitLab login pages and version banners.
  2. Craft malicious CI/CD configuration: Construct a .gitlab-ci.yml file containing a specially crafted regular expression designed to trigger an integer overflow (CWE-190) in GitLab's CI/CD regex compiler during configuration parsing.
  3. Submit the malicious configuration: Submit the crafted CI/CD configuration to the target GitLab instance. Depending on the specific conditions required, this may involve creating a public project or exploiting an endpoint that processes CI/CD configurations without requiring authentication.
  4. Trigger regex compilation: The GitLab server processes the malicious regex, causing an integer overflow in the compiler that, under the exploitable conditions, corrupts memory or redirects execution flow.
  5. Achieve arbitrary code execution: The overflow condition is leveraged to execute attacker-controlled code on the GitLab server process, enabling reverse shell establishment, credential harvesting from CI/CD variables, or further lateral movement into connected infrastructure (GitHub Advisory, Dev.to Analysis).

Indicators of compromise

  • Network: Unexpected outbound connections from the GitLab server to external IP addresses, particularly on non-standard ports; unusual DNS lookups originating from the GitLab process.
  • Logs: GitLab application logs (production.log, sidekiq.log) showing errors or crashes in the CI/CD configuration parser or regex compiler component; repeated failed or anomalous CI/CD pipeline trigger requests from unauthenticated sources.
  • File System: Unexpected new files or scripts written to the GitLab installation directory or /tmp; new cron jobs or systemd units created under the git or gitlab service account; web shells placed in accessible directories.
  • Process: Unusual child processes spawned by the GitLab Ruby/Puma process (e.g., /bin/bash, curl, wget, python3, nc); unexpected network listeners opened by the GitLab process.
  • CI/CD: Anomalous .gitlab-ci.yml files in repositories containing complex or obfuscated regular expressions submitted by unknown or unauthenticated users (GitHub Advisory, Rapid7 ETR).

Mitigation and workarounds

GitLab has released patched versions addressing this vulnerability: 19.2.8, 19.3.5, and 19.4.2. All GitLab CE/EE administrators running affected versions (19.2 before 19.2.8, 19.3 before 19.3.5, or 19.4 before 19.4.2) should upgrade immediately. As an interim measure, restricting who can create or modify CI/CD configurations and limiting public project creation can reduce the attack surface, but upgrading is the only definitive fix. GitLab.com (SaaS) was patched by GitLab directly (GitLab Patch Release, GitHub Advisory).

Community reactions

The vulnerability received widespread coverage across the security community given its maximum CVSS score of 10.0. BleepingComputer, The Hacker News, Rapid7, Help Net Security, CSO Online, and Cybersecurity Dive all published dedicated articles urging immediate patching (BleepingComputer, The Hacker News, Help Net Security). CERT-EU issued a dedicated security advisory (2026-016), and the Centre for Cybersecurity Belgium (CCB) issued a warning urging immediate patching (CERT-EU, CCB Belgium). The SANS Internet Storm Center discussed the vulnerability in a podcast, and community researchers published technical analyses on Dev.to and personal blogs, with active discussion on Reddit, Mastodon, and LinkedIn highlighting the severity and urgency of the patch (SANS ISC).

Additional resources


Source: This report was generated using AI

Related GitLab vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-97229CRITICAL10
  • GitLab logoGitLab
  • gitlab
NoYesOct 13, 2026
CVE-2026-92883HIGH8.7
  • GitLab logoGitLab
  • gitlab
NoYesOct 13, 2026
CVE-2026-96893HIGH7.3
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesOct 13, 2026
CVE-2026-9268MEDIUM4.3
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesOct 13, 2026
CVE-2026-92528MEDIUM4.2
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesOct 13, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management