GitLab Community Edition and Enterprise Edition contain a integer overflow or wraparound vulnerability that could allow 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.
In short
CVE-2026-97229 (GitLab Community Edition and Enterprise Edition Integer Overflow or Wraparound) has a CVSS 3.1 base score of 10.0, rated critical. CISA added it to the Known Exploited Vulnerabilities catalog on 29 Oct 2026. Fixed in GitLab 19.2.8, Ruby-lang Ruby 3.3.13 or later. The Dutch NCSC covers it in advisory NCSC-2026-0414.
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.
CVSS 3.1 breakdown
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HAffected products
- GitLab≥ 19.2.0 < 19.2.8 · ≥ 19.3.0 < 19.3.5 · ≥ 19.4.0 < 19.4.2
- Ruby-lang Ruby≥ 3.3.0 < 3.3.13 · ≥ 3.4.0 < 3.4.12 · ≥ 4.0.0 < 4.0.8
Remediation
Fixed in- GitLab≥ 19.2.8
- Ruby-lang Ruby≥ 3.3.13
References
- https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-4-2-released/
- https://github.com/rapid7/metasploit-framework/pull/22017
- https://gitlab.com/gitlab-org/gitlab/-/work_items/630686
- https://hackerone.com/reports/4055749
- https://hackerone.com/reports/4058589
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-97229
- https://www.ruby-lang.org/en/news/2026/10/23/regexp-fixes-for-gitlab-cves/
Related CVEs
Exploited and critical vulnerabilities in the same product or from the same vendor.
Data from the NVD, CISA KEV catalog and FIRST EPSS. The CVSS 4.0 base score is shown where the NVD has one, otherwise CVSS 3.1.
