Home › Intelligence › Brief
VULNERABILITY BRIEF🔴 Critical Vulnerability

Critical Remote Code Execution in GitLab CI/CD Regular Expression Compiler (CVE‑2026‑97229)

GitLab disclosed CVE‑2026‑97229, a CVSS 10.0 integer‑overflow that lets unauthenticated attackers execute code via a crafted regex in CI/CD pipelines. The flaw underscores the importance of robust patch‑management and audit‑ready evidence for compliance.

LiveThreat™ Intelligence · 📅 November 24, 2026· 📰 helpnetsecurity.com
🔴
Severity
Critical
VU
Type
Vulnerability
🎯
Confidence
HIGH
🏢
Affected
2 sector(s)
✅
Actions
3 recommended
📰
Source
helpnetsecurity.com

Critical Remote Code Execution in GitLab CI/CD Regular Expression Compiler (CVE‑2026‑97229)

What It Is

GitLab has disclosed a critical integer‑overflow flaw in the component that compiles regular expressions for CI/CD pipelines. The vulnerability, catalogued as CVE‑2026‑97229, exists in both GitLab Community Edition (CE) and Enterprise Edition (EE) and receives a CVSS 3.1 base score of 10.0 – the maximum severity. The flaw resides in the parser that processes user‑supplied regular‑expression strings embedded in .gitlab-ci.yml files. When a specially crafted pattern triggers an integer overflow, the compiler can write beyond its allocated buffer, allowing an attacker to inject and execute arbitrary native code on the host GitLab server.

GitLab’s advisory states that exploitation requires no authentication, low attack complexity, and no user interaction beyond the attacker’s ability to commit a malicious CI/CD configuration file to a repository. In practice, the attacker must first gain write access to a repository that can host a public project (or a project visible to unauthenticated users) and then push a .gitlab-ci.yml containing the malicious regular expression. The same commit must also include a repository path containing UTF‑8 characters, a nuance that triggers the overflow condition.

Rapid7 independently reproduced the exploit on an unpatched official GitLab CE Docker image (v19.4.1). Their proof‑of‑concept demonstrated full remote code execution, whereas the patched 19.4.2 image resisted the same payload. The researchers noted that an “ordinary account” can satisfy the prerequisite of committing a malicious CI/CD file on self‑managed instances that permit public project creation, underscoring the low barrier to exploitation.

GitLab released patches on 12 October 2026 for the affected branches: CE/EE 19.4.2, 19.3.5, and 19.2.8. The vulnerability affects all prior releases in the 19.2, 19.3, and 19.4 series (i.e., 19.2.x < 19.2.8, 19.3.x < 19.3.5, 19.4.x < 19.4.2). GitLab.com already runs the patched code, and GitLab Dedicated customers are exempt because their environments are managed by GitLab and have been updated automatically. The issue was reported through GitLab’s HackerOne program by a researcher identified only as joaxcar, who also disclosed a separate medium‑severity open‑redirect flaw (CVE‑2026‑7767) in the same timeframe.

No confirmed in‑the‑wild exploitation has been reported to date. However, the combination of remote, unauthenticated execution and the ease of meeting the pre‑conditions (public project creation) has prompted Rapid7 to advise organizations to apply the patches immediately, even if it means deviating from regular maintenance windows.

The CVE follows a recent string of high‑impact GitLab fixes. In August 2026, GitLab patched CVE‑2026‑19478, a critical code‑injection bug that allowed unauthenticated attackers to modify or delete public projects and user data. The recurrence of remote‑code‑execution vectors highlights a broader risk surface in GitLab’s CI/CD pipeline processing logic, an area that receives heavy usage across development, DevOps, and supply‑chain workflows.

Why It Matters for Compliance & Audit Readiness

The flaw directly undermines the integrity and confidentiality controls required by frameworks such as NIST CSF PR.IP‑3 (Configuration Management) and ISO 27001 A.12.1 (Secure Development). Failure to patch leaves a gap in the organization’s continuous monitoring and evidence‑collection processes, exposing audit trails to tampering.

Recommended Actions

  • Upgrade immediately to GitLab 19.4.2, 19.3.5, or 19.2.8 (or later) on all self‑managed instances, regardless of scheduled patch cycles.
  • Audit repository permissions to ensure public project creation is restricted to vetted accounts; enforce least‑privilege for CI/CD configuration commits.
  • Validate post‑upgrade by scanning for the patched regular‑expression compiler version and confirming that no legacy images (e.g., Docker 19.4.1) remain in production.

Source: Help Net Security – GitLab CI/CD Regular Expression Compiler Vulnerability (CVE‑2026‑97229)

📰 Original Source
https://www.helpnetsecurity.com/2026/10/13/gitlab-ci-cd-regular-expression-compiler-vulnerability-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 →