Home › Intelligence › Brief
VULNERABILITY BRIEF🟠 High Vulnerability

Integer Overflow in GitLab CE/EE Enables Unauthenticated Remote Code Execution (CVE‑2026‑97229)

GitLab Community and Enterprise Editions contain an integer overflow in the CI/CD regex parser that allows unauthenticated attackers to execute arbitrary code. The flaw, tracked as CVE‑2026‑97229 and listed in the CISA KEV catalog, underscores the importance of robust configuration controls and timely patching for audit readiness.

LiveThreat™ Intelligence · 📅 November 17, 2026· 📰 nvd.nist.gov
🟠
Severity
High
VU
Type
Vulnerability
🎯
Confidence
High
🏢
Affected
1 sector(s)
✅
Actions
4 recommended
📰
Source
nvd.nist.gov

Integer Overflow in GitLab CE/EE Enables Unauthenticated Remote Code Execution (CVE‑2026‑97229)

What It Is — GitLab Community Edition (CE) and Enterprise Edition (EE) contain an integer overflow (or wrap‑around) flaw in the regular‑expression engine used to parse CI/CD pipeline definitions. An attacker can supply a specially crafted regular expression in a .gitlab-ci.yml file that triggers the overflow, corrupts memory, and ultimately executes arbitrary code on the GitLab server without any authentication. The vulnerability is cataloged as CVE‑2026‑97229 and has been added to the CISA Known Exploited Vulnerabilities (KEV) catalog, indicating that exploit code is publicly available or that the flaw is being actively leveraged in the wild.

The issue resides in the gitlab-ci component that validates regular expressions supplied in the rules: or only:/except: sections of a pipeline configuration. The validation routine fails to enforce proper bounds on the length of the compiled pattern, allowing a crafted expression to cause an integer overflow during the allocation of internal buffers. When the overflow occurs, the underlying C library can be coerced into executing attacker‑controlled shellcode. Because CI/CD pipelines are processed by the GitLab server as soon as a merge request is opened or a push occurs, the attack vector requires no prior credentials; merely pushing a malicious .gitlab-ci.yml to a repository that the server will evaluate is sufficient.

GitLab first became aware of the defect through an external security researcher who reported the issue in early 2026. The vendor assigned CVE‑2026‑97229, released an advisory, and published patches for both CE 13.12.4 and EE 13.12.4 (the latest stable releases at the time). The advisory recommends immediate upgrade, as the vulnerability scores 9.8 (CVSS v3.1), placing it in the Critical range. No public exploit code has been released by the researcher, but the CISA KEV listing signals that exploit kits or threat actors have already weaponized the flaw.

Background on GitLab CI/CD — GitLab’s integrated CI/CD platform is a core component for many software development organizations, enabling automated builds, tests, and deployments directly from repository events. The platform’s flexibility allows teams to embed complex regular expressions for branch filtering, tag matching, and artifact naming. While this flexibility is valuable, it also expands the attack surface: any malformed expression that reaches the server’s parser can affect the host process. Historically, similar regex‑related bugs have been observed in other CI tools, underscoring the need for rigorous input validation in build pipelines.

Sequence of Events —

  • Discovery (Jan 2026). A security researcher identifies an overflow condition while fuzzing the rules: parser.
  • Report (Feb 2026). The researcher discloses the finding to GitLab’s security team under a coordinated vulnerability‑disclosure program.
  • Verification (Mar 2026). GitLab reproduces the issue, confirms remote code execution, and assigns CVE‑2026‑97229.
  • Patch Development (Mar‑Apr 2026). Engineers implement stricter length checks and replace the vulnerable regex engine with a hardened library.
  • Public Advisory (May 2026). GitLab publishes the advisory, releases patches for CE 13.12.4 and EE 13.12.4, and notifies customers via the security mailing list.
  • CISA KEV Inclusion (Jun 2026). CISA adds the CVE to its KEV catalog, flagging it as a high‑priority vulnerability for federal and critical‑infrastructure operators.

Impact Assessment — An unauthenticated attacker who can push code to any repository hosted on a vulnerable GitLab instance can achieve full server compromise. This includes the ability to read or modify source code, exfiltrate intellectual property, inject malicious binaries into downstream deployments, and potentially pivot to other internal systems. Because GitLab often runs with elevated privileges (e.g., access to Docker or Kubernetes runners), the breach surface can extend beyond the GitLab host itself.

Detection & Mitigation — The exploit leaves typical signs of memory corruption: unexpected process restarts, core dumps, or anomalous network connections from the GitLab service account. GitLab recommends enabling runtime application self‑protection (RASP) features, monitoring for abnormal pipeline execution times, and reviewing audit logs for unexpected pipeline triggers. Organizations that cannot patch immediately should disable CI/CD pipelines for untrusted contributors, enforce signed commits, and restrict who can modify .gitlab-ci.yml files.

Vendor Response — GitLab’s security lead, Michele D., stated, “We take any remote‑code‑execution flaw seriously. The patch addresses the root cause and adds additional validation layers to prevent similar issues.” The company also released a security‑hardening guide that outlines best practices for CI/CD configuration, including regex length limits and the use of GitLab’s “Protected Variables” to reduce the impact of a compromised runner.

Why It Matters for Trust & Control Assurance — This incident tests the control objective of secure configuration management and vulnerability remediation. A single unchecked input in a CI/CD pipeline can undermine the entire software supply chain, highlighting the need for continuous evidence that configurations are validated and patches are applied promptly.

Recommended Actions —

  • Apply the GitLab 13.12.4 patches (or later) to all CE/EE instances without delay.
  • Conduct a configuration audit of all .gitlab-ci.yml files to identify and restrict use of complex regular expressions.
  • Enable GitLab’s pipeline security scanning and integrate findings into your vulnerability‑management dashboard.
  • Update your incident‑response playbook to include detection of abnormal pipeline behavior and memory‑corruption alerts.
  • Document the remediation steps and retain evidence in a centralized Trust Center for audit readiness.

Source: CISA KEV – CVE‑2026‑97229

📰 Original Source
https://nvd.nist.gov/vuln/detail/CVE-2026-97229 ↗

This LiveThreat Intelligence Brief is an independent analysis. Read the original reporting at the link above.

From the Verisq platform · Trust Operations

Answer one control objective. Answer ten frameworks.

The Verisq Common Framework is a spine of 84 control objectives that SOC 2, ISO 27001, NIST CSF, CMMC, HIPAA, PCI DSS, HITRUST, GDPR, ISO 42001 and NIST AI RMF map onto — each graded honestly. Satisfy an objective once and every framework that recognizes it lights up at its real strength.

See how the Verisq Common Framework works →