Critical RCE in GitLab CI/CD Regex Compiler (CVE‑2026‑97229) Enables Unauthenticated Code Execution
What It Is — GitLab disclosed a maximum‑severity remote code execution (RCE) flaw tracked as CVE‑2026‑97229. The vulnerability lives in the CI/CD Regular Expression Compiler, a component that parses, compiles, and evaluates regex patterns embedded in pipeline configuration files. An integer‑overflow bug in the compiler’s length‑calculation routine allows an attacker to craft a specially‑formed regular expression that overruns internal buffers, leading to arbitrary code execution on the GitLab server. Because the compiler runs without authentication during pipeline processing, the exploit can be triggered by an unauthenticated remote actor who submits a malicious .gitlab-ci.yml or other pipeline definition to a vulnerable instance.
The issue was reported through GitLab’s HackerOne program by researcher “joaxcar” and received a CVSS 3.1 base score of 9.8 (Critical). GitLab’s advisory confirms that the flaw is exploitable in the wild and that successful exploitation grants the attacker the same privileges as the GitLab service account, effectively compromising the entire host.
GitLab has released patches for both GitLab Community Edition (CE) and Enterprise Edition (EE). The fixed versions are:
- 19.2.x ≥ 19.2.8
- 19.3.x ≥ 19.3.4
- 19.4.x ≥ 19.4.2
All self‑managed installations are urged to upgrade immediately. GitLab.com and GitLab Dedicated environments already run the patched code, so only on‑premise customers need to act.
The vulnerability follows a recent string of high‑impact GitLab flaws. In January 2026, GitLab patched a two‑factor authentication bypass (CVE‑2026‑0723). In September 2026, it fixed an unauthenticated data‑exfiltration bug (CVE‑2026‑85706) that the U.S. Cybersecurity and Infrastructure Security Agency (CISA) later added to its KEV catalog, mandating federal remediation within three days. CISA now lists five GitLab flaws that have been observed in active attacks since November 2021, including at least one leveraged by ransomware groups.
GitLab reports over 70 million registered users and more than half of the Fortune 100 run its DevSecOps platform, underscoring the broad attack surface. The company’s statement emphasizes that the vulnerability “under certain conditions could have allowed 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.”
Detection of the flaw was internal; GitLab’s security team identified the overflow during routine code review and coordinated disclosure with the researcher. No public exploitation details were released, but the advisory notes that the vulnerability is “actively exploited in the wild,” prompting the urgent patch recommendation.
Affected Products — GitLab Community Edition and Enterprise Edition versions prior to 19.2.8, 19.3.4, and 19.4.2 (self‑managed deployments).
Why It Matters for Trust & Control Assurance — The flaw tests the vulnerability‑management and secure‑configuration control objective: organizations must demonstrate timely detection, patching, and evidence of remediation to satisfy multiple frameworks (e.g., NIST CSF 2.0, ISO 27001).
Recommended Actions —
- Upgrade immediately to the patched GitLab CE/EE releases (≥ 19.2.8, ≥ 19.3.4, ≥ 19.4.2).
- Validate remediation by running internal regression tests that exercise the regex compiler with malformed patterns.
- Document the patch in your vulnerability‑management system, attaching the GitLab advisory and upgrade logs as audit evidence.
- Review CI/CD pipeline policies to enforce strict validation of user‑supplied regexes and consider sandboxing pipeline execution.
- Integrate continuous monitoring of GitLab advisories into your security‑operations workflow to ensure future max‑severity findings are addressed within defined SLAs.
Source: BleepingComputer – GitLab warns of max severity code execution vulnerability