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.
Severity
CRITICAL
CVSS v3
10.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H · source cna
Exploit chance (EPSS)
69.289%
chance of exploitation in the next 30 days
higher than 99.4% of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2026-10-29
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 1
Nuclei templates: 1
Weakness
- CWE-190: Integer Overflow or Wraparound
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | GitLab Community Edition and Enterprise Edition Integer Overflow or Wraparound Vulnerability |
|---|---|
| Vendor / product | GitLab / Community Edition and Enterprise Edition |
| Date added | 2026-10-29 |
| Federal remediation due date | 2026-11-01 |
| Required action | Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines. |
| Known ransomware campaign use | Unknown |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | yes |
| Technical impact | total |
| Scored | 2026-10-13 |
Timeline
- 2026-10-13Published by the CNA01:05 UTC
- 2026-10-13CISA SSVC decision recordedsame day
- 2026-10-29Added to the CISA KEV catalog16 days after publication
Exploit and advisory records
Nuclei templates:
- CVE-2026-97229: GitLab CE/EE < 19.2.8 / 19.3.5 / 19.4.2 - Unauthenticated RCE via Onigmo Integer Overflow
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| gitlab gitlab | from 19.2.0 before 19.2.8fixed in 19.2.8from 19.3.0 before 19.3.5fixed in 19.3.5from 19.4.0 before 19.4.2fixed in 19.4.2 | 19.2.819.3.519.4.2 |
| ruby-lang ruby | from 3.3.0 before 3.3.13fixed in 3.3.13from 3.4.0 before 3.4.12fixed in 3.4.12from 4.0.0 before 4.0.8fixed in 4.0.8 | 3.3.133.4.124.0.8 |
References
- https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-4-2-released/
- https://hackerone.com/reports/4055749
- https://hackerone.com/reports/4058589
- https://github.com/rapid7/metasploit-framework/pull/22017
- https://gitlab.com/gitlab-org/gitlab/-/work_items/630686
- 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/
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-97229'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-97229'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-97229'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-97229'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2026-97229'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).