CVE-2026-97229
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.
Description as published by the source, in English.
Key facts
- Published
- 2026-10-13
- Last modified
- 2026-11-02
- Assigned by
- cve@gitlab.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H- Scored by
- cve@gitlab.com
- Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Gitlab | Gitlab | ≥ 19.2.0, < 19.2.8 | Affected |
| Gitlab | Gitlab | ≥ 19.3.0, < 19.3.5 | Affected |
| Gitlab | Gitlab | ≥ 19.4.0, < 19.4.2 | Affected |
| Ruby-lang | Ruby | ≥ 3.3.0, < 3.3.13 | Affected |
| Ruby-lang | Ruby | ≥ 3.4.0, < 3.4.12 | Affected |
| Ruby-lang | Ruby | ≥ 4.0.0, < 4.0.8 | Affected |
Weakness type
-
CWE-190: Integer Overflow or Wraparound
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is i…
References
- https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-4-2-released/
- https://gitlab.com/gitlab-org/gitlab/-/work_items/630686
- https://hackerone.com/reports/4055749
- https://hackerone.com/reports/4058589
- https://github.com/rapid7/metasploit-framework/pull/22017
- https://www.ruby-lang.org/en/news/2026/10/23/regexp-fixes-for-gitlab-cves/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-97229
Related at Berigo
Articles
-
An unauthenticated request could read files off a GitLab server
Same product
2026-09-26
On 10 September 2026 GitLab patched a CVSS 10.0 flaw that, under certain conditions, let an unauthenticated user read files from the server. A day la…
-
A critical GitLab flaw can allow project deletion without login
Same product
2026-08-18
On 17 August 2026 GitLab shipped an out of band patch release. It fixes two vulnerabilities in the GraphQL layer, the more serious one scoring CVSS 9…
-
Critical flaw in Rails Active Storage let uploaded files read secrets
Same product
2026-08-03
Ruby on Rails fixed a critical vulnerability in Active Storage on 29 July 2026. An attacker without login could upload a crafted file and have files …
-
CISA adds four exploited vulnerabilities to the KEV catalog
Same product
2026-02-03
The flaws affect Sangoma FreePBX, GitLab and SolarWinds Web Help Desk, spanning from 2019 to one published a week ago.
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.