Integer overflow in GitLab Enterprise Edition and Gitlab Community Edition - CVE-2026-97229
Published: October 13, 2026 / Updated: October 30, 2026
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 Community Edition
Debian Linux
Gentoo Linux
ruby3.3 (Debian package)
dev-lang/ruby
How to mitigate CVE-2026-97229
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