What happened
GitLab Community Edition and Enterprise Edition are affected by CVE-2026-97229, an integer overflow or wraparound vulnerability caused by insufficient validation of regular expressions in CI/CD configuration. Under certain conditions, a specially crafted regular expression could allow an unauthenticated user to execute arbitrary code on the GitLab server. The exposed service can be attacked directly over a network, without prior access or user involvement. The vulnerability is listed on CISA’s Known Exploited Vulnerabilities catalogue as actively exploited. GitLab assigns it a critical severity, with a vendor score of 10.0.
Who is affected
Organisations running GitLab CE or EE versions 19.2 before 19.2.8, 19.3 before 19.3.5, or 19.4 before 19.4.2 are within the stated affected scope. The vulnerability affects the GitLab product itself. A fix is available.
Recommended actions
- Apply the available GitLab fix for affected deployments. Consult the vendor advisory for the applicable fixed release information.
- Restrict network exposure of GitLab services to reduce the opportunity for direct attacks against exposed services.
- Place access controls in front of GitLab services to limit network access to the service.
- Segment GitLab services from other systems to limit the potential reach of an attack.

