Exploited vulnerabilities · GitLab
CVE-2026-97229
GitLab Community Edition and Enterprise Edition Integer Overflow or Wraparound Vulnerability
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.
Description in the NVD
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.
Required action according to CISA
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.
What to do now
- Check your exposureFind out whether GitLab Community Edition and Enterprise Edition runs anywhere in your environment, including systems of suppliers.
- Patch or mitigateApply the vendor update. If that is not possible at once, use the vendor's mitigation or take the system off the network.
- Look for signs of an attackThis vulnerability is exploited in real attacks. Review the logs of affected systems for the time before the patch.
References
- docs.gitlab.com/releases/patches/patch-release-gitlab-19-4-2-released/
- gitlab.com/gitlab-org/gitlab/-/work_items/630686
- hackerone.com/reports/4055749
- hackerone.com/reports/4058589
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-97229
- github.com/rapid7/metasploit-framework/pull/22017
- www.ruby-lang.org/en/news/2026/10/23/regexp-fixes-for-gitlab-cves/
- nvd.nist.gov/vuln/detail/CVE-2026-97229
More exploited vulnerabilities in GitLab products
Data: CISA Known Exploited Vulnerabilities Catalog and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.