Tia N.List

KEV catalog · CISA Known Exploited Vulnerabilities

CVE-2026-97229 10.0
GitLab · Community Edition and Enterprise Edition · Added 2026-10-29 · Published 2026-10-13
3-Day Required PoC Available KEV Automatable Active Exploitation

Details

VulnerabilityGitLab Community Edition and Enterprise Edition Integer Overflow or Wraparound Vulnerability
VendorGitLab
ProductCommunity Edition and Enterprise Edition
Date added2026-10-29
Due date2026-11-01
Required actionApply 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.
CWECWE-190
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS 0.7431 · 100th percentile · 2026-11-26 · 7d +0.0503
EPSS trend 0.6520 → 0.7430 +0.0910 over 21 observations
Descriptions

KEV: 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.

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.

Compliance SSVC + BOD 26-04

Automatableyes
Technical impacttotal
Exploitation statusactive
3-day qualifyingYes
Public timeline3 days + forensic
Non-public timeline3 days + forensic
Forensic (public)Required
Forensic (non-public)Required

Research metadata

Last researched2026-10-29 19:48 UTC
Searches5
Component defaultyes

QC notes

info precondition_contradiction: Preconditions don't mention deployment applicability (component/product version)

Hunting hypothesis agent

Hunt gitlab-workhorse logs for GET /api/v4/projects/<id>/ci/lint?content_ref=<ref> that ends in 502 with 'badgateway: failed to receive response: EOF', alongside a concurrent Puma worker crash whose trace names regexp_matcher.rb.

Research details

ComponentCI/CD regex compiler: RegexpMatcher for rules:exists:regexp / rules:changes:regexp
PreconditionsGitLab CE/EE 19.2.0-19.2.7, 19.3.0-19.3.3 (19.3.4 is listed but its libruby never enters the expansion path) and 19.4.0-19.4.1 on x86_64 builds. Setup needs write access to a public project (token, compromised account, or an instance allowing self-registration) to push a malicious .gitlab-ci.yml plus a crafted UTF-8 path; the delivery request GET /api/v4/projects/:id/ci/lint?content_ref=<ref> is unauthenticated for public projects. About 2 GiB of worker memory and target egress to an attacker callback are needed for output. agent
DeliveryAttacker pushes a branch to a public project containing include:local + rules:exists:regexp with an obfuscated repeat, plus a ~110-byte crafted UTF-8 repository path; an unauthenticated GET /api/v4/projects/:id/ci/lint?content_ref=<ref> makes the static linter compile the pattern in a Puma worker, where the Onigmo overflow redirects the VM to system().
Public PoCyes
Exploit notesWeaponized public exploit, not detection-only tooling: Rapid7's poc.py (jburgess-r7) achieves code execution as uid=998(git) on official gitlab/gitlab-ce:19.4.1 amd64 with ASLR on (10/10 trials); gandli's lab publishes a per-version matrix (19.2.0-19.2.7, 19.3.0-19.3.3, 19.4.0-19.4.1 exploitable; 19.2.8, 19.3.4, 19.3.5, 19.4.2 not). Payloads are build-specific (libruby.so offsets, SYSTEM_STEP_COUNT), x86_64 only, need ~2 GiB of worker memory, and the stager is limited to 28 bytes. Rapid7 notes the demonstrated route requires write access to a public project to plant the config, which conflicts with GitLab's PR:N rating.
Operational notescaused-by-fix: the Ruby backport in 19.2.8/19.3.5/19.4.2 ('Add Ruby regexp program size patch for 3.3 and 3.4') replaces the overflowing size multiplication with a division test and rejects compiled regexp programs above roughly 512 MiB (INT_MAX/4), so CI configs whose patterns would expand past that cap now fail lint with a configuration error instead of compiling - teams using very large repeat bounds or POSIX classes against long UTF-8 paths should re-validate pipelines after upgrading. co-shipped-in-patch: the same cumulative update carries database migrations, so single-node installs take downtime during the upgrade and 19.3.5 adds post-deploy migrations; schedule a maintenance window instead of a rolling restart. agent
https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-4-2-released/
https://www.rapid7.com/blog/post/ra-gitlab-ci-cd-regex-integer-overflow-technical-analysis-cve-2026-97229/
SummaryCVE-2026-97229 is a CWE-190 integer overflow in GitLab CE/EE's CI/CD regular-expression compiler (rules:exists:regexp / rules:changes:regexp) that lets an unauthenticated CI lint request reach the Onigmo VM and execute commands as the git user. It affects 19.2 before 19.2.8, 19.3 before 19.3.5, and 19.4 before 19.4.2, and is rated CVSS 10.0. Functional public exploits exist (Rapid7's poc.py, validated on 19.4.1 CE amd64), and GitLab shipped six threat detections with the fix; patched releases are 19.2.8, 19.3.5, and 19.4.2.

Tia coverage

First reported2026-07-15
First exploit report2026-10-29
Exploit report → KEV0 days before the listing

When Tia's reporting first covered this CVE and whether a report claimed exploitation before the KEV listing. Lead-time deltas are measured from the exploitation report only — plain coverage is not exploitation intel. See the story links under Mentioned in for coverage detail.

Mentioned in

cisco-secure-firewall-zero-day-cve-2026-76418cve-2026-89078-and-cve-2026-93577-gitlab-ce-ee-contain-a-doublegitlab-cve-2026-97229-critical-unauthenticated-arbitrary-code-exivanti-connect-secure-cve-2026-104935-active-exploitationphp-warns-admins-of-two-critical-flaws-emergency-patches-comingsonicwall-sma1000-two-zero-day-flaws-under-active-exploitation-c

Record schema v1.0. Enrichment is research-grade, not a substitute for analyst review.

Source on GitHub