A hooded hacker works at a laptop as a glowing digital shield separates them from a secure server dashboard.
Shadowserver says it is tracking more than 1,000 unpatched GitLab servers that are exposed to an actively exploited, maximum-severity remote code execution flaw. "We are currently tracking over 1000 GitLab instances vulnerable to CVE-2026-97229 (on @CISACyber KEV) and over 11300 instances vulnerable to CVE-2026-110264 (out of around 39K GitLab instances we see daily)," Shadowserver said on Sunday.

The patch has been out since October 12. Three weeks later, a lot of self-managed GitLab servers are still waiting for it. If you run GitLab yourself, check your version now. This is also a case where the version number alone doesn't tell you the whole story.

A hooded hacker works at a laptop as a glowing digital shield separates them from a secure server dashboard. What CVE-2026-97229 is​

CVE-2026-97229 stems from an integer overflow weakness in the CI/CD Regular Expression Compiler, which parses and evaluates regular expressions in pipeline configuration files. GitLab's advisory says that, under certain conditions, an unauthenticated user could run arbitrary code on the server through a specially crafted regular expression in a CI/CD configuration. It gives the flaw a CVSS score of 10.0, the maximum, with the vector AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H. The researcher who reported it, joaxcar, did so through GitLab's HackerOne bug bounty program.

Affected and fixed versions​

Both GitLab Community Edition (CE) and Enterprise Edition (EE) are affected. Here are the vulnerable ranges and the fixes, as listed by GitLab and echoed by Rapid7:

Affected CE/EE versionsUpgrade to
19.2 before 19.2.819.2.8 or later
19.3 before 19.3.519.3.5 or later
19.4 before 19.4.219.4.2 or later

GitLab says that the flaw affects self-managed instances across all deployment types. GitLab.com already runs the patched version. GitLab says all Dedicated tenants were patched through an internal release before the public patch came out, so Dedicated customers don't need to act.

Timeline​

  • October 12, 2026: GitLab ships 19.4.2, 19.3.5 and 19.2.8.
  • October 20–21: Alpine Linux later reports exploitation attempts against its own GitLab server on these dates.
  • October 29: CVE-2026-97229 is added to CISA's Known Exploited Vulnerabilities (KEV) list, based on evidence of active exploitation.
  • November 1: The remediation deadline for U.S. federal civilian agencies passes. For covered federal civilian agencies, a KEV entry comes with a due date, and for this flaw that date is November 1, 2026.
  • Weekend of October 31–November 1: Shadowserver reports the 1,000+ figure.

BleepingComputer's report refers to CISA's confirmation as happening "on Friday." The dates in other sources put the KEV listing on Thursday, October 29. The federal deadline binds only covered agencies. Private organizations aren't legally bound by it, but the KEV listing is a strong signal that attackers are already using the flaw.

What "ongoing attacks" does and doesn't mean​

Keep three things separate:

  1. Vulnerable. Shadowserver counts more than 1,000 exposed instances running affected code.
  2. Exploited. CISA's KEV listing confirms exploitation in the wild.
  3. Compromised. None of the sources establish how many servers were actually breached.

Shadowserver's figure is a monitoring observation. It isn't a full census of GitLab exposure, and it doesn't say how many of those servers have been hit.

How the exploit works, and who can reach it​

The vendor score says no privileges are required. Rapid7's testing adds a practical condition. An attacker must have a way to plant a malicious CI/CD configuration in a repository before triggering the flaw. On instances where new users can self-register and create projects, that constraint is removed.

In Rapid7's reproduction, the attacker commits a malicious .gitlab-ci.yml file and a repository path containing UTF-8 characters to a branch in a public project. Rapid7's explanation of the mechanics:

  • The crafted expression compiles in a compact US-ASCII form and passes GitLab's validation.
  • When it is matched against a specially formed valid UTF-8 path, Ruby's Onigmo regex engine recompiles it for the new encoding. This happens after validation.
  • An integer overflow in the program-size calculation produces invalid regex instructions.
  • The resulting loss of control-flow integrity lets attacker-controlled Onigmo VM operations run, and that can execute an OS command as the GitLab git user.

Rapid7 reproduced code execution on the official GitLab 19.4.1 CE Linux amd64 image with ASLR enabled. The same input did not run against the patched 19.4.2 image.

An open GitLab with self-registration and public projects is the easiest target. A locked-down instance has fewer ways in, but patching is still the fix.

Why upgrading GitLab may not be enough​

This is the most useful caveat for admins. Alpine Linux reported that its own custom GitLab container did not become safe just by moving to 19.3.6 on October 22. The Ruby build it used lacked the Onigmo compiler fix. Alpine said the correction lives in a Ruby patch shipped in GitLab's official packages.

Alpine's advice for anyone running GitLab with their own Ruby, whether from source or a custom container, is to use Ruby 3.3.13, 3.4.12, or 4.0.9 or later. It says its alpinelinux/gitlab:19.3.6 image published October 27 contains Ruby 3.3.13, while earlier-pulled 19.3.6 images and older tags stay vulnerable.

This is a packaging caveat specific to custom builds. It doesn't mean the official GitLab packages are unpatched. GitLab's own release notes list Ruby regexp program-size patches for Ruby 3.3 and 3.4 in each fixed release, so the fix is bundled in the official packages.

Alpine said it found no evidence the attack succeeded and verified that its repositories, packages and October 21 releases weren't tampered with. It still couldn't rule out compromise, so it rebuilt the instance.

What to do now​

  1. Inventory. Find every self-managed GitLab CE/EE instance, including forgotten test servers, and check its version against the table above.
  2. Upgrade. Move to 19.2.8, 19.3.5 or 19.4.2, or a later supported release. Plan for the migrations. GitLab notes the patch includes database migrations, so single-node instances will see downtime during the upgrade. Multi-node setups can avoid downtime with proper zero-downtime procedures.
  3. Verify the fix in the real artifact. If you build from source or use a custom image, confirm the Ruby version meets Alpine's guidance. Don't assume the GitLab version number covers it.
  4. Hunt for signs of attack. GitLab released six threat detections for self-managed customers. They cover Onigmo native worker crashes, hostile regexps in GraphQL CI lint, oversized non-ASCII paths, CI regexp guard rejections, CI lint Workhorse worker crashes, and bursts of scripted CI lint client errors. Alpine's incident involved worker crashes, so those logs are worth checking.
  5. Reduce exposure while you patch. Rapid7 says restricting anonymous access to public projects and preventing untrusted users from creating or writing to public projects can reduce exposure to the demonstrated exploit path. Rapid7 is explicit that these controls don't fix the vulnerable compiler. Treat them as a stopgap, not a substitute for the upgrade.
  6. Consider a compromise assessment. If an affected instance was reachable by untrusted users after October 12, check for unexpected pipelines, new accounts, credentials or runner tokens stored in the instance, and odd processes under the git user. Treat those secrets as potentially exposed until you've reviewed. This is general incident-response practice, not guidance from the sources above.

Second flaw: CVE-2026-110264​

BleepingComputer says GitLab addressed another maximum-severity Regular Expression Compiler bug, CVE-2026-110264, last month. It also lets attackers run arbitrary code. Shadowserver counts more than 11,300 instances vulnerable to it, out of about 39,000 GitLab instances it sees daily.

A security vendor, ThreatDefence, notes that a server on 19.4.2, 19.3.5 or 19.2.8 is fixed for CVE-2026-97229 but still exposed to CVE-2026-110264. I haven't verified that claim against GitLab's advisory for CVE-2026-110264. Look up the fixed versions for that CVE separately, and don't assume the October 12 patch covers it.

The bigger picture​

GitLab has had a rough year. BleepingComputer lists a January two-factor authentication bypass (CVE-2026-0723) and a September maximum-severity flaw in the repository commits API (CVE-2026-85706) that can be abused to steal credentials and other secrets. CISA also flagged CVE-2026-85706 as actively abused after watchTowr reported attackers scanning for vulnerable servers. BleepingComputer also reports that CISA has added six GitLab flaws to the KEV catalog since November 2021, and one of them has been used in ransomware attacks.

CI/CD servers hold deploy keys, tokens and signing material, so a code execution bug there can reach well beyond the one server. GitLab says its platform has more than 70 million registered users and is used by over 50% of Fortune 100 companies. That figure comes from the company itself.

Public-facing DevSecOps platforms are an attractive target for the same reason. The exploit chain here is public enough that Rapid7 has reproduced it, and a Metasploit module has reportedly been merged. A three-week-old patch is no longer a "next maintenance window" item.

Bottom line​

If you self-host GitLab, upgrade to a fixed release, confirm your Ruby build if you're not using official packages, review the detection signals, and check your exposure to the second regex-compiler flaw. For the 1,000-plus servers Shadowserver is still seeing, the exposure is likely to be found by attackers before their owners fix it.

 

References

  1. Over 1,000 GitLab servers vulnerable to ongoing RCE attacks BleepingComputer 2026-11-02T07:47:00-05:00
  2. CVE-2026-97229: Critical Unauthenticated Remote Code Execution in GitLab rapid7.com
  3. GitLab CVE-2026-97229 Exploited: Hunting and Patching threatdefence.com