CTIPilot
AI-generated · no human review · verify critical claims against the linked source. how it works →
← Back to Daily brief 2026-10-13
HIGHCVE-2026-97229exploitedupdatedNATOA2vulnerability

CVE-2026-97229, GitLab CE/EE: an integer overflow in the CI/CD regular-expression compiler allows code execution on self-managed servers; exploited, fixed in 19.4.2, 19.3.5 and 19.2.8 (CVSS 10.0)

GitLab's CVSS 10.0 CI regex RCE is now on CISA KEV; the public PoC needs push access to a public project

Defender actions

  • Upgrade every self-managed GitLab CE and EE instance on 19.2, 19.3 or 19.4 to 19.2.8, 19.3.5 or 19.4.2 now, preferably to 19.2.9, 19.3.6, 19.4.3 or 19.5.1, which also fix CVE-2026-110264, internet-reachable instances and instances that allow open sign-up or public projects first, because CISA lists the flaw as exploited and NCSC Switzerland reports active exploitation; where GitLab runs on its own Ruby (a source install or a container image that does not use GitLab's packages) also install Ruby 3.3.13, 3.4.12 or 4.0.9, because the fix is a Ruby patch that only GitLab's official packages carry. On any instance that was reachable on an affected version, run the six detections GitLab published on its release page and treat the CI/CD variables, runner registration tokens and deploy keys of any hit, or of an instance where compromise cannot be ruled out, as exposed.

Analysis

GitLab's critical patch release of 2026-10-12 (19.4.2, 19.3.5 and 19.2.8) fixes CVE-2026-97229, an integer overflow in the CI/CD regular-expression compiler that, "under certain conditions", could allow an unauthenticated user to execute arbitrary code on the GitLab server through a specially crafted regular expression in a CI/CD configuration; GitLab scores it CVSS 3.1 10.0 with no privileges required (GitLab, 2026-10-12). Affected are self-managed CE and EE from 19.2 before 19.2.8, 19.3 before 19.3.5 and 19.4 before 19.4.2. The 19.4.1 release of 2026-09-23 fixed two related flaws in the same component (GitLab, 2026-09-23) but is still affected (GitLab, 2026-10-12). Rapid7 reproduced the code execution on 19.4.1 and published a proof of concept on 2026-10-13 (Rapid7, 2026-10-13); CISA added the flaw to its Known Exploited Vulnerabilities catalog on 2026-10-29 on evidence of active exploitation (CISA, 2026-10-29), and NCSC Switzerland updated its advisory the same day to active exploitation, citing Alpine Linux (NCSC Switzerland, 2026-10-29). Alpine says a newly registered account sent crafted CI configurations to its GitLab 19.3.4 on 2026-10-20 and 21, crashing worker processes eight times, four of them partway through the exploit; it found no evidence that code ran, could not rule it out and rebuilt the instance (Alpine Linux, 2026-10-28).

Triage: ordinary CI jobs run shells under the runners; only a shell spawned by the GitLab application server processes themselves matches this flaw, not one started inside a runner job.

Cited evidence

GitLab has remediated an issue 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.

all versions from 19.2 before 19.2.8, 19.3 before 19.3.5, and 19.4 before 19.4.2

GitLab (Critical Patch Release 19.4.2, 19.3.5, 19.2.8) 2026-10-12

Network access to an affected self-managed instance and delivery of a crafted regular expression through CI/CD configuration

NCSC Switzerland (Security Hub advisory) 2026-10-12

CERT-EU strongly recommends upgrading self-managed GitLab CE/EE instances to a fixed version as soon as possible, starting with internet-facing instances.

CERT-EU 2026-10-12

Rapid7's testing found that an attacker must first be able to commit a malicious CI/CD configuration file .gitlab-ci.yml, and a repository path containing UTF-8 characters to a branch in a public project.

Rapid7 2026-10-13

An attacker with permission to push to a public project supplies a CI regular expression and a specially named path.

Rapid7 researcher repository (proof-of-concept README) 2026-10-13

based on evidence of active exploitation

CISA 2026-10-29

GitLab security has released six threat detections to support customers with self-managed instances

GitLab (Critical Patch Release 19.4.2, 19.3.5, 19.2.8) 2026-10-12

On October 20 and 21, an attacker tried to exploit a GitLab vulnerability (CVE-2026-97229) on our instance, a week after the fix was released.

The fix isn’t in GitLab’s own code but in a patch to Ruby, which GitLab applies only in its official packages.

Alpine Linux (incident post) 2026-10-28

Added reports of exploitation attempts

NCSC Switzerland (Security Hub advisory, update of 2026-10-29) 2026-10-29

Updates3

Update

Rapid7 reports that it independently reproduced arbitrary code execution on the official GitLab CE 19.4.1 image with address space layout randomization enabled, that the same input did not execute on the patched 19.4.2 image, and that it found no confirmed exploitation in the wild (Rapid7, 2026-10-13). Its testing shows the unauthenticated label needs a qualifier: the attacker must first push a malicious CI/CD configuration and a UTF-8 repository path to a branch in a public project, which an ordinary account can do where users may create public projects (Rapid7, 2026-10-13); the proof of concept then triggers it with a request without credentials (Rapid7 proof-of-concept README, 2026-10-13). A proof of concept went public the same day; its README says the included offsets were tested only against the 19.4.1 CE Linux amd64 image, that other builds need adjusted offsets, and that the generated payload is slightly larger than 2 GiB, needing about 9 GiB of memory on the test host (Rapid7 proof-of-concept README, 2026-10-13). The affected and fixed versions are unchanged.

Update

CISA added CVE-2026-97229 to its Known Exploited Vulnerabilities catalog on 2026-10-29, "based on evidence of active exploitation" (CISA, 2026-10-29), and NCSC Switzerland edited its advisory the same day to add reports of exploitation attempts, moving the exploitation status to active exploitation (NCSC Switzerland, 2026-10-29). The report behind it is Alpine Linux's: on 2026-10-20 and 21 a newly registered account sent crafted CI configurations to its GitLab instance, which still ran 19.3.4, crashed the worker processes eight times and got partway through the exploit in four of them; the attacker returned on 2026-10-25 and 26 and failed, Alpine found no evidence that code ran but could not rule it out, and it rebuilt the instance (Alpine Linux, 2026-10-28). Alpine's upgrade to GitLab 19.3.6 on 2026-10-22 did not close the flaw, because the fix is a set of patches to the Ruby that GitLab applies only in its official packages and images, so an installation that runs its own Ruby needs Ruby 3.3.13, 3.4.12 or 4.0.9 or later as well (Alpine Linux, 2026-10-28). GitLab's release page now says its security team has released six threat detections for self-managed instances (GitLab, 2026-10-12). GitLab's release of 2026-10-21 (19.5.1, 19.4.3, 19.3.6, 19.2.9) also fixes a second CVSS 10 regular-expression compiler flaw, CVE-2026-110264, so those builds are the better upgrade target (GitLab, 2026-10-21). Rapid7's statement of 2026-10-13 that it saw no confirmed exploitation predates all of this.

Improvement

GitLab's notes of 2026-10-21 give the sibling flaw CVE-2026-110264 a wider range than this one: every GitLab CE/EE version from 7.0 before 18.11.13, 19.0 before 19.0.10, 19.1 before 19.1.9 and 19.2 to 19.5 before their October 21 builds, with the fix backported to 18.11.13, 19.0.10, 19.1.9 and 19.2.9 (GitLab, 2026-10-21). An instance on a branch older than 19.2 is therefore not out of scope and has a fixed build to move to. The Ruby project says the regular-expression engine bugs behind these CVEs are reached whenever an application compiles a regular expression from a string an attacker controls, fixes all of them in Ruby 4.0.9, 3.4.12 and 3.3.13, and advises avoiding compiling regular expressions from untrusted input where an upgrade is not possible (Ruby, 2026-10-23).

Sources12

Revision history

  1. Published 2026-10-13T0256Z-intel
  2. Update 2026-10-14T0255Z-intel

    Rapid7 reported on 2026-10-13 that it reproduced arbitrary code execution on GitLab CE 19.4.1, published a proof of concept, and found no confirmed exploitation in the wild. The demonstrated path needs push access to a public project and then an unauthenticated CI lint request, so instances with open sign-up or public projects that untrusted users can write to are the exposed case.

    Changed: title headline summary tags cves sources evidence sourcing_note actions body

  3. Update 2026-10-30T0255Z-intel

    CISA added CVE-2026-97229 to the Known Exploited Vulnerabilities catalog on 2026-10-29 and NCSC Switzerland updated its advisory the same day to active exploitation, citing Alpine Linux's report that a newly registered account crashed its GitLab 19.3.4 workers eight times on 2026-10-20 and 21, after which Alpine rebuilt the instance. Alpine also found that GitLab's fix is a patch to the Ruby bundled in its own packages and images, so an installation with its own Ruby needs Ruby 3.3.13, 3.4.12 or 4.0.9 as well, and GitLab's builds of 2026-10-21 also fix a second CVSS 10 flaw, CVE-2026-110264. The CVE record moves to exploited and KEV-listed, the summary, detection, takeaway and action are rewritten, and the superseded status lines are removed.

    Changed: actions body cves evidence headline references sources sourcing_note summary tags title

  4. Improvement 2026-11-01T1312Z-audit

    The sibling flaw CVE-2026-110264 reaches every GitLab version from 7.0, with backports to 19.1.9, 19.0.10 and 18.11.13, so instances older than 19.2 are in scope and have a fixed build; the Ruby project says any application that compiles attacker-controlled regular expressions is exposed until Ruby 4.0.9, 3.4.12 or 3.3.13.

    Changed: body sources title

PROVENANCE

AI-generated · no human review · this permalink is the shareable record for the finding · verify operationally critical claims against the linked primary source.