CTI · reviewed · 2026-10-14
GitLab CVE-2026-97229 Critical Unauthenticated Arbitrary Code Execution (CVSS 10.0)
Actors
—
Malware / tools
—
Campaigns
—
CVEs
CVE-2026-97229
Victim sectors
—
Geography
—
MITRE ATT&CK
Indicators
No curated indicators tied to this case.
Detections
Detection content derived from this case analysis. Status: experimental — not validated against live telemetry.
Sigma raw
title: GitLab CI/CD Regex Compiler RCE - Shell Spawn From Application Worker (CVE-2026-97229)
id: b495e870-5375-49ed-b2cd-7cc621b3df3f
status: experimental
description: >
Detects a GitLab Rails/Puma/Sidekiq worker process spawning a shell with
download, decoding, or staging utilities, consistent with post-exploitation
of CVE-2026-97229. The vulnerability is an integer overflow (CWE-190) in
GitLab's CI/CD Regular Expression Compiler that allows an unauthenticated
attacker to execute arbitrary code on self-managed GitLab CE/EE servers via
a specially crafted regular expression in a CI/CD configuration.
references:
- https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-4-2-released/
- https://www.bleepingcomputer.com/news/security/gitlab-warns-of-max-severity-rce-flaw-in-regex-compiler-engine/
- https://www.rapid7.com/blog/post/etr-cve-2026-97229-critical-unauthenticated-remote-code-execution-in-gitlab
author: Tia N. List
date: 2026/10/14
tags:
- attack.t1190
- attack.t1059
logsource:
category: process_creation
product: linux
detection:
selection_parent:
ParentImage|contains:
- 'gitlab'
- 'puma'
- 'sidekiq'
selection_shell:
Image|endswith:
- '/sh'
- '/bash'
- '/dash'
selection_suspicious:
CommandLine|contains:
- 'curl'
- 'wget'
- 'base64'
- 'chmod +x'
- '/tmp/'
condition: selection_parent and selection_shell and selection_suspicious
falsepositives:
- GitLab maintenance tasks or CI helper scripts that invoke a shell to fetch artifacts
level: high
Splunk SPL raw
# gitlab-cve-2026-97229-critical-unauthenticated-arbitrary-code-ex — Splunk SPL variant (derived from gitlab-cve-2026-97229-critical-unauthenticated-arbitrary-code-ex.sigma via sigma convert)
# source-sha256: 8d1cfa4e75861b921b8a3beafac45cdfba6252b855a599d4563e79128c9383b8 v1
ParentImage IN ("*gitlab*", "*puma*", "*sidekiq*") Image IN ("*/sh", "*/bash", "*/dash") CommandLine IN ("*curl*", "*wget*", "*base64*", "*chmod +x*", "*/tmp/*")
KQL (Sentinel / Defender) raw
# gitlab-cve-2026-97229-critical-unauthenticated-arbitrary-code-ex — KQL variant (derived from gitlab-cve-2026-97229-critical-unauthenticated-arbitrary-code-ex.sigma via sigma convert)
# source-sha256: 8d1cfa4e75861b921b8a3beafac45cdfba6252b855a599d4563e79128c9383b8 v1
(ParentImage contains "gitlab" or ParentImage contains "puma" or ParentImage contains "sidekiq") and (Image endswith "/sh" or Image endswith "/bash" or Image endswith "/dash") and (CommandLine contains "curl" or CommandLine contains "wget" or CommandLine contains "base64" or CommandLine contains "chmod +x" or CommandLine contains "/tmp/")