What changed
The fixed version depends on your branch
GitLab released an unscheduled critical patch on 12 October for Community Edition and Enterprise Edition. Its advisory says CVE-2026-97229 could allow unauthenticated code execution on the GitLab server, under certain conditions, through a specially crafted regular expression in CI/CD configuration. GitLab rates it CVSS 10.0.
The affected lines are 19.2 before 19.2.8, 19.3 before 19.3.5, and 19.4 before 19.4.2. GitLab recommends upgrading affected self-managed installations immediately. GitLab.com is already patched, and GitLab says Dedicated customers need no action for this release.
Check the actual running patch
Why this matters
The CI/CD boundary is also a server boundary
CI/CD configuration can look like project-level data, but GitLab has disclosed a path by which the regular-expression compiler could affect the server itself. That is why the unauthenticated condition deserves attention from the people who run the GitLab instance, not only the owners of individual pipelines.
31 October update: CISA added CVE-2026-97229 to its Known Exploited Vulnerabilities catalogue on 29 October. The original GitLab advisory did not report exploitation; that sentence is now superseded by the later CISA listing. An affected self-managed instance needs both the fixed software and a look back at its exposure window.
Alpine Linux reports attempted exploitation against its GitLab service on 20–21 October. It found no proof of successful code execution but could not rule it out. Alpine also found that its custom GitLab image still bundled a vulnerable Ruby runtime after the GitLab application was upgraded. That is a lesson for custom builds, not evidence that GitLab's official fixed packages have the same packaging problem.
Defender workflow
Inventory, update, then check the exposure window
- 1
Find every self-managed instance. Include externally reachable and internal GitLab CE/EE servers, replicas, staging systems and instances run for a business unit. Record the precise version and deployment method.
- 2
Move to a fixed build. Follow GitLab's current upgrade guidance and install at least 19.2.8, 19.3.5 or 19.4.2, as appropriate for the supported branch. Verify the running version after restart. For custom images, also verify the bundled Ruby/Onigmo fix; Alpine names Ruby 3.3.13, 3.4.12 and 4.0.9 for their respective branches.
- 3
Review suspicious CI/CD activity. If an affected instance was reachable, preserve application and audit logs and look for unexpected CI/CD configuration changes or server-side processes. CISA's listing raises urgency; it does not prove a particular instance was compromised.
- 4
Protect secrets if compromise is plausible. A server compromise may reach runners, project data or stored credentials. Scope and rotate secrets based on evidence from the investigation rather than assuming a software update cleans up prior access.
Defender note
Do not confuse a patch with a clean bill of health
The closure note should identify every GitLab instance, its before-and-after version, when the update landed, and whether anyone checked the time it remained exposed. The fix addresses the vulnerability; it does not answer what happened before it was installed.