CVE-2026-97229: GitLab CE/EE regex flaw allows unauthenticated code execution
GitLab CE/EE versions before 19.2.8, 19.3.5 and 19.4.2 are affected by a critical regex validation flaw allowing unauthenticated remote code execution.
Covered by 2 outlets
First reported Summary updated
- Public PoC
- Not known
- Exploited
- Yes, KEV
- CVSS
- 10.0 Critical
What happened
GitLab Community Edition and Enterprise Edition contain an integer overflow or wraparound vulnerability.KEV
The flaw could let an unauthenticated user run arbitrary code on the GitLab server through a specially crafted regular expression in a CI/CD configuration, because regular expression validation is insufficient.NVD
GitLab has remediated the issue.NVD
Who is affected
- GitLab Community Edition and Enterprise Edition, 19.2 before 19.2.8, 19.3 before 19.3.5, 19.4 before 19.4.2NVD
Is there a public exploit?
Not known None of the sources mentions public exploit code yet.
Exploited in the wild?
Yes CISA added CVE-2026-97229 to its catalogue of known exploited vulnerabilities on 29 October 2026.KEV CISA added CVE-2026-97229 to its catalogue of known exploited vulnerabilities on 29 October 2026, with US federal agencies required to act by 1 November 2026.
What to do
- Apply mitigations according to the vendor's instructions.KEV
Vendor advisories and patches: docs.gitlab.com/releases/patches/patch-release-gitlab-19-4-2...
For bug hunters
This event concerns an integer overflow or wraparound reached through regular expression handling in a CI/CD configuration path. Such flaws tend to appear where user-supplied patterns are compiled or length arithmetic is done on untrusted input. Look for places where regex input from configuration files or API parameters is parsed without strict validation. Test boundary lengths and crafted patterns against in-scope endpoints that accept configuration or pattern data.
What to test
- Submit CI/CD configuration with crafted regular expressions to test validation.
- Try boundary-length regex patterns in configuration fields.
- Check whether unauthenticated endpoints accept regex input.
- Probe pattern compilation paths for integer overflow behaviour.
Written by bugbounty.wiki with AI from the 2 outlets below. Every statement above comes with a quote we checked against the source it cites (the numbers link to it); anything we could not check was left out. It can still be wrong, so read the coverage before relying on a detail.
Coverage
2 articles, oldest first. Each headline opens the outlet's own article.
-
1
-
2