Integer overflow in GitLab Enterprise Edition and Gitlab Community Edition - CVE-2026-97229

 

Integer overflow in GitLab Enterprise Edition and Gitlab Community Edition - CVE-2026-97229

Published: October 13, 2026 / Updated: October 30, 2026


Vulnerability identifier: #VU154150
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-97229
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the GitLab server.

The vulnerability exists due to integer overflow in the CI/CD regular expression compiler when processing regular expressions in CI/CD configurations. A remote attacker can supply a specially crafted regular expression in a CI/CD configuration to execute arbitrary code on the GitLab server.


Affected software

GitLab Enterprise Edition
Gitlab Community Edition
Debian Linux
Gentoo Linux
ruby3.3 (Debian package)
dev-lang/ruby

How to mitigate CVE-2026-97229

Install security update from vendor's website.

GitLab Enterprise Edition - addressed in versions 19.2.8, 19.3.4, 19.4.2
Gitlab Community Edition - addressed in versions 19.2.8, 19.3.4, 19.4.2
ruby3.3 (Debian package) - update to 3.3.13-0+deb13u1
dev-lang/ruby - update to 0.7.2

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins