Threat Feed

CVE-2026-97229: GitLab Community Edition and Enterprise Edition · Remote code execution

Exploitation: In the wild · CVSS 10.0 Critical · Unauthenticated · Published 2026-10-13

Description

GitLab has remediated an issue in GitLab CE/EE affecting all versions from 19.2 before 19.2.8, 19.3 before 19.3.5, and 19.4 before 19.4.2 that, 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.

Enclave's analysis

Integer overflow in Ruby's Onigmo regex engine, reachable through GitLab CI/CD regex rules. A crafted regex passes GitLab's checks, then blows up when recompiled for UTF-8. That gives code execution as the git user on self-managed GitLab 19.2 to 19.4. A public PoC and a Metasploit module exist, and CISA lists it as exploited. Upgrade GitLab and make sure Ruby is patched too.

Fix

Upgrade GitLab to 19.2.8 or 19.3.5 or 19.4.2; GitLab CE/EE to 19.2.8, 19.3.5, 19.4.2 or later. Later releases also fix CVE-2026-110264.; Ruby (Onigmo regex engine) to 3.3.13, 3.4.12, 4.0.8 or later. GitLab guidance cites 4.0.9..

Affected versions

ProductVulnerableFixed in
GitLab19.2 before 19.2.819.2.8
GitLab19.3 before 19.3.519.3.5
GitLab19.4 before 19.4.219.4.2
GitLab CE/EE19.2.0 before 19.2.8; 19.3.0 before 19.3.5; 19.4.0 before 19.4.219.2.8, 19.3.5, 19.4.2 or later. Later releases also fix CVE-2026-110264.
Ruby (Onigmo regex engine)3.3.0 before 3.3.13; 3.4.0 before 3.4.11 or 3.4.12; 4.0.0 before 4.0.83.3.13, 3.4.12, 4.0.8 or later. GitLab guidance cites 4.0.9.

Seen in 6 sources