CVE-2026-97229: 
GitLab Análise e mitigação de vulnerabilidades

Visão geral

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).

Detalhes técnicos

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).

Impacto

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).

Exploração

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).

Etapas de exploração

  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).

Indicadores de compromisso

  • 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).

Mitigação e soluções alternativas

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).

Reações da comunidade

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).

Recursos adicionais


Origem: Este relatório foi gerado usando IA

Relacionado GitLab Vulnerabilidades:

CVE ID

Gravidade

Pontuação

Tecnologias

Nome do componente

Exploração do CISA KEV

Tem correção

Data de publicação

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

Avaliação de vulnerabilidade gratuita

Compare sua postura de segurança na nuvem

Avalie suas práticas de segurança na nuvem em 9 domínios de segurança para comparar seu nível de risco e identificar lacunas em suas defesas.

Solicitar avaliação

Marque uma demonstração personalizada

Pronto para ver a Wiz em ação?

"A melhor experiência do usuário que eu já vi, fornece visibilidade total para cargas de trabalho na nuvem."
David EstlickCISO
"A Wiz fornece um único painel de vidro para ver o que está acontecendo em nossos ambientes de nuvem."
Adam FletcherDiretor de Segurança
"Sabemos que se a Wiz identifica algo como crítico, na verdade é."
Greg PoniatowskiChefe de Gerenciamento de Ameaças e Vulnerabilidades