CVE-2026-97229: GitLab Community Edition and Enterprise Edition Integer Overflow or Wraparound Vulnerability

Critical severity, CVSS 10.0. Actively exploited: in CISA KEV since 2026-10-29. EPSS: 69% probability of exploitation activity in the next 30 days.

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.

What to do

CISA's required action (US federal agencies, by 2026-11-01): 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.

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • GitLab, from 19.2.0, before 19.2.8: fixed in 19.2.8
  • GitLab, from 19.3.0, before 19.3.5: fixed in 19.3.5
  • GitLab, from 19.4.0, before 19.4.2: fixed in 19.4.2
  • Ruby-Lang Ruby, from 3.3.0, before 3.3.13: fixed in 3.3.13
  • Ruby-Lang Ruby, from 3.4.0, before 3.4.12: fixed in 3.4.12
  • Ruby-Lang Ruby, from 4.0.0, before 4.0.8: fixed in 4.0.8

Affected products

  • GitLab GitLab: from 19.2.0, before 19.2.8 (fixed in 19.2.8); from 19.3.0, before 19.3.5 (fixed in 19.3.5); from 19.4.0, before 19.4.2 (fixed in 19.4.2)
  • Ruby-Lang Ruby: from 3.3.0, before 3.3.13 (fixed in 3.3.13); from 3.4.0, before 3.4.12 (fixed in 3.4.12); from 4.0.0, before 4.0.8 (fixed in 4.0.8)

Published 2026-10-13. Last modified 2026-11-02.